Guest User

Untitled

a guest
May 24th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. INSERT INTO ###Debug(SomeMessage, SomeData)
  2. VALUES ('row count', @@ROWCOUNT)
  3.  
  4. IF @@ROWCOUNT = 0
  5. BEGIN
  6. ROLLBACK TRANSACTION
  7. BREAK
  8. END
  9.  
  10. DBCC FREEPROCCACHE
  11. GO
  12. DROP PRCOEDURE SB_..._Consume
  13. GO
  14. CREATE PRCOEDURE SB_..._Consume ...
Add Comment
Please, Sign In to add comment