David-155102
SSCarpal Tunnel
Points: 4361
More actions
December 6, 2004 at 7:09 am
#74808
How do I exit from a sp when a certain condition is reached? I have an IF statement and want to return a value if the criteria is met and to exit the sp at that point rather than continuing with the remainder of the sp?!
Frank Kalis
SSC Guru
Points: 111183
December 6, 2004 at 7:21 am
#532634
RETURN ?
--Frank KalisMicrosoft SQL Server MVPWebmaster: http://www.insidesql.org/blogsMy blog: http://www.insidesql.org/blogs/frankkalis/[/url]
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply