From: Erland Sommarskog on 29 Jul 2010 16:55 geebee (geraldjr30(a)hotmail.com(noSPAMs)) writes: > I now have: > "C:\Program Files\Microsoft SQL Server\90\Tools\Binn\sqlcmd.exe -i > c:\zigzag.sql -o c:\tiki.log" That is not correct. You need the double quotes to specify the command, since there are spaces in the file path. The correct command should be: "C:\Program Files\Microsoft SQL Server\90\Tools\Binn\sqlcmd.exe" -i c:\zigzag.sql -o c:\tiki.log -- Erland Sommarskog, SQL Server MVP, esquel(a)sommarskog.se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
First
|
Prev
|
Pages: 1 2 Prev: Need help with date subtract from 3 business days. Next: Database source control |