July 18, 2008 at 11:31 am
:Out in sqlcmd equals to -o from command line
Whats the same equal variable for :Error ?
Prakash Heda
Lead DBA Team - www.sqlfeatures.com
Video sessions on Performance Tuning and SQL 2012 HA
July 18, 2008 at 3:09 pm
July 31, 2008 at 5:48 pm
Has anybody used -r flag, i coudn't find any method to use it though...
and no pointers on google also to use this error trapping method....
any help appriciated....
Prakash Heda
Lead DBA Team - www.sqlfeatures.com
Video sessions on Performance Tuning and SQL 2012 HA
July 31, 2008 at 6:05 pm
Finally worked....
sqlcmd -E -i"install.sql" -r1 2> install-err.log 1> install.log
Thanks Gordon....
Prakash Heda
Lead DBA Team - www.sqlfeatures.com
Video sessions on Performance Tuning and SQL 2012 HA
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy