Viewing post 1 (of 1 total)
You can create a user defined error message with a severity of 20:
exec sp_addmessage 60000, 20, N'Your error message here.', null, 'true', replace
When that error is raised, it will terminate...
June 1, 2004 at 8:26 am
#508512