Transactions require the ACID properties to be satisfied. To achieve that, we use the below statements:
BEGIN TRANSACTION TRANSACTION#
END TRANSACTION TRANSACTION#
ROLLBACK TRANSACTION#
The Rollback command ensures that the database changes are rolled back to the previous stable commit and ensures consistency. Once the transactions are executed, we can make use of SELECT
queries to run on the tables where the transaction took place and validate the data.