Nilima@direct2s.com
Grasshopper
Points: 16
More actions
April 28, 2003 at 5:09 am
#82066
how to run a .Sql File from Query Analyser without opening the file.
Nilima
Rajesh Patavardhan
SSCrazy
Points: 2801
April 28, 2003 at 5:52 am
#455500
one alternative is to use OSQL command line utility. See books online for more details on this command.
Steven.
SSCrazy Eights
Points: 9806
April 28, 2003 at 5:54 am
#455501
You can use the command line programs 'OSQL' or 'ISQL' to run .sql files from the command line without opening them.
command line commands can be run from inside Query Analyser by using the XP_CMDSHELL stored procedure
Steven
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply