give detail description on transactions - using


Give detail description on Transactions.

- Using transactions we can group all SQL commands into a single unit.

- Transaction begins with some task and finishes only when all tasks within it are over.

- Transaction gets over successfully only when all commands in it are successfully over. Even if one command fails, whole transaction fails.

- BEGIN TRANSACTION, ROLLBACK TRANSACTION, and COMMIT TRANSACTION statements are used to work with transactions.

- A group of tasks starts with begin statement.

- Just in case of any problem, rollback command is executed to abort transaction.

- If all tasks run successfully, all commands are executed through commit statement.

 

Request for Solution File

Ask an Expert for Answer!!
Database Management System: give detail description on transactions - using
Reference No:- TGS0354936

Expected delivery within 24 Hours