IF (QUERY1) BEGIN QUERY2 END
BEGIN try -- execute your first query END try BEGIN CATCH return --- if error occur then return END CATCH -- execute your second query if no error
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)