Which of the following SQL statements is used to start a transaction in a relational database?
- BEGIN TRANSACTION
- INITIATE TRANSACTION
- START TRANSACTION
- CREATE TRANSACTION
The correct SQL statement to begin a transaction in a relational database is "BEGIN TRANSACTION." Starting a transaction is essential for ensuring data consistency.
Loading...
Related Quiz
- You have been asked to set up a local development environment for PHP. What steps would you take?
- How do you use the $GLOBALS superglobal in PHP?
- In PHP file upload, the $_FILES array contains keys like 'name', 'type', 'size', 'tmp_name', and 'error' which represent ______.
- The switch statement in PHP is used to select one of many blocks of code to be executed.
- Which of the following is not a magic constant in PHP?