Php Objective Questions with Answers for written test exams 42

Question 42
How is a transaction terminated so that the changes made during its course are

discarded?

A. ROLLBACK TRANSACTION

B. COMMIT TRANSACTION

C. By terminating the connection without completing the transaction

D. UNDO TRANSACTION

E. DISCARD CHANGES
Answers 42


A and C are both valid answers. A transaction is not completed when the connection

between your script and the database server is discarded, as if a ROLLBACK

TRANSACTION command has been issued.

  







Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---