I have written a Java application which executes every T-SQL script file inside a folder using OSQL. I do not want the output file to contain the row count. Now I do not want to include "SET NOCOUNT ON" in each script. Is there a way to do this outside of the script?
I tried passing it as a query along with the input file like this.