How can you start a database transaction in the database? - Study24x7
Social learning Network

Warning: include(./views/auth.php): failed to open stream: Permission denied in /var/www/html/live/loginRightSlider.php on line 18

Warning: include(): Failed opening './views/auth.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/live/loginRightSlider.php on line 18
45 followers study24x7 16 Jan 2021 11:12 AM study24x7 study24x7

How can you start a database transaction in the database?

A

By asking a Transaction object to your Connection, and calling the method begin() on it

B

By asking a Transaction object to your Connection, and setting the autoCommit property of the Transaction to false

C

By calling the method beginTransaction() on the Connection object

D

 By setting the autoCommit property of the Connection to false, and execute a statement in the database

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles