Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

displaying error messages using the sqlcmd utility

Status
Not open for further replies.

dmando84

Programmer
Dec 28, 2005
68
US
Hello all,

I created a batch file that runs sql scripts in a specific order. The only problem is that the scripts continue to run even after it encounters and error in SQL. Does anyone know how I can stop the script from running when it encounters any errors? Any help would be appreciated.

Thanks,

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top