Advertisement
Guest User

Untitled

a guest
Aug 29th, 2013
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.21 KB | None | 0 0
  1. RAISERROR(N'Test', 16, 1);
  2. RETURN;
  3.  
  4. SELECT 1;   /* Not executed */
  5. GO
  6.  
  7. IF (@@ERROR != 0)
  8.     RETURN;
  9.  
  10. SELECT 2;   /* Not executed */
  11.  
  12. GO
  13.  
  14. IF (@@ERROR != 0)
  15.     RETURN;
  16.  
  17. SELECT 3;   /* executed */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement