Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PRINT @@TRANCOUNT
- -- The BEGIN TRAN statement will increment the transaction count by 1.
- BEGIN TRAN
- PRINT @@TRANCOUNT
- BEGIN TRAN
- PRINT @@TRANCOUNT
- -- The COMMIT statement will decrement the transaction count by 1.
- COMMIT
- PRINT @@TRANCOUNT
- COMMIT
- PRINT @@TRANCOUNT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement