ExamVeda
Login
Home
This question belongs to MySQL MySQL Miscellaneous
MySQL Miscellaneous
?

What is known as the set of SQL statements that either executes successfully or none of them have an effect?

Answer & Solution
Correct Answer: Option B
Imagine you're making a cake. You need to follow all the steps correctly – mix the ingredients, bake it, and frost it. If even one step goes wrong, the whole cake is ruined.

In the world of databases, transactions are similar to making a cake. They are a set of SQL statements that are treated as a single unit.

If all the statements in a transaction are successful, they are all applied to the database. But if even one statement fails, the whole transaction is cancelled, and none of the changes are saved.

This ensures that the data in your database remains consistent and accurate.

So the answer is Option B: transactions
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.