Thursday, 12 September 2013

I am executing multiple sql scripts using batch file but now i want to stop execution of batch file ,If error occures in any one of sript

I am executing multiple sql scripts using batch file but now i want to
stop execution of batch file ,If error occures in any one of sript

Batch file code
sqlcmd -S dbdev026b\dbdev026b -i c:Test1.sql -o c:\o1.txt
sqlcmd -S dbdev026b\dbdev026b -i c:Test2.sql -o c:\o2.txt

No comments:

Post a Comment