How to break SQL script execution
20
votes
5
answers
76824
views
I am working on sql script and I am having a requirement of stop continuing the script if some conditions are not satisfied.
When I Google it, I found the RaisError with 20 severity level will terminate it.
But for some reasons I cannot use that option.
Can please provide me what are the possible alternatives to stop SQL script execution.
Asked by New Developer
(473 rep)
Aug 29, 2013, 04:29 AM
Last activity: Apr 12, 2025, 11:30 AM
Last activity: Apr 12, 2025, 11:30 AM