executing sql file
I want to know,
is there any method in SQL Server using "SQL Server Management Studio" to execute the .sql file? (Using query)
I know about osql & isql Utilities & i try this also as
EXEC xp_cmdshell 'osql -S vsnet1 -U sa -P sysadm -d aaa -i c:\ACCOUNTS.sql'
its working fine but it uses the dos command shell.
i too try the stored procedures (of others peson`s) like
sp_ExecuteSQLFromFile (i dont want this as it having some limits)
Is there any direct way to execute a .sql file? (as in case of Oracle RUN, START, @ )
Hope for help
Regards,
thanks.
Gurpreet S. Gill

