Home Forums SQL Server 2005 Development execute SQL server query from Dos command prompt/ batch file. RE: execute SQL server query from Dos command prompt/ batch file.
Christian Cederqvist
Valued Member
Points: 56
More actions
January 14, 2008 at 3:03 pm
#767889
I had a somewhat related question.
I want to use a SQL command to write a string to a text file using Master...xp_cmdshell.
essentially clobbering the contents.