Is there a way to suppress \"x rows affected\" in SQLCMD from the command line?
I\'m running an MSBuild script and don\'t want it clogging up my log on my build se
The -i and -q options are mutually exclusive.
-i
-q
Create a file named setnocount.sql with the content:
SET NOCOUNT ON;
And you might be able to do -i setnocount.sql,otherscript.sql using the multiple files feature and effectively an "included" common first file.
-i setnocount.sql,otherscript.sql