rew-370421
Hall of Fame
Points: 3640
More actions
July 1, 2010 at 4:19 pm
#226403
I have DOS "BATCH" (*.bat) file and need to execute TSQL commands as part of it. How can I do that?
Thanks in advance.
george sibbald
SSC Guru
Points: 104210
July 1, 2010 at 4:27 pm
#1187952
include executions of the sqlcmd utility in the .bat file
sqlcmd is a command line utility to run SQL statements. see BOL.
---------------------------------------------------------------------
July 1, 2010 at 5:39 pm
#1187963
Thanks, George! Just what I was looking for.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply