BEGIN and END define a series of Transact-SQL statements that execute together. If the BEGIN… END block were not included, both ROLLBACK TRANSACTION statements would execute and both PRINT messages would be returned.
Sandhya Answered question July 6, 2023
