Afficher un message
Vieux 25/03/2008, 14h06   #2
Dan Guzman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: call script from another script

> Is it possible with sqlserver to call a sql script from another sql
> script, like @ in oracle ?


You can call another script using ":r" in SQLCMD (or SSMS in SQLCMD mode).
For example:

:r C:\SqlScripts\Script1.sql

--
Hope this s.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

"OD" <olivier.dubuisson@free.fr> wrote in message
news:47e8bc04$0$17714$426a74cc@news.free.fr...
> Hello,
>
> Is it possible with sqlserver to call a sql script from another sql
> script, like @ in oracle ?
>
> Thanks,
>
> Olivier
>


  Réponse avec citation
 
Page generated in 0,04335 seconds with 9 queries