Monday, March 12, 2012

How to suppress osql feedback 1> 2> etc

When I call osql -S server -E -h-1 with a -i option, the feedback I get is prefaced with "1> 2> 3>".
The test script is simply:
set nocount on
use master
select name from sysdatabases
How can I suppress the "1> 2> 3>"?
ThanksThanks. I don't know how long I stared at the osql documentation yesterday without finding what is now immediately apparent. Maybe too many hours @. work...

No comments:

Post a Comment