I am relatively new to SQL Server.
I have a command file with the following contents :
osql -E -i%1.sql -d%2 -oq:\%1.log
The sql script file has a number of insert/update statements.
The log file produced looks something like this :
1> 2> (1 row affected)
1> 2> (1 row affected)
1> 2> (0 rows affected)
Is there any setting which can be turned on such that the log file
produced from this command file will echo the statement and then
the number of rows which are affected.
TIA.
I have a command file with the following contents :
osql -E -i%1.sql -d%2 -oq:\%1.log
The sql script file has a number of insert/update statements.
The log file produced looks something like this :
1> 2> (1 row affected)
1> 2> (1 row affected)
1> 2> (0 rows affected)
Is there any setting which can be turned on such that the log file
produced from this command file will echo the statement and then
the number of rows which are affected.
TIA.