Discussion Forum : Php Databases Handling
Question - What will happen at the end of the following sequence of SQL commands?BEGIN TRANSACTIONDELETE FROM MYTABLE WHERE ID=1DELETE FROM OTHERTABLEROLLBACK TRANSACTION
Options:
A .  The database will remain unchanged
B .  The contents of OTHERTABLE will be deleted, as will be all the contents of MYTABLE whose ID is 1
C .  The contents of both OTHERTABLE and MYTABLE will be deleted
D .  The contents of OTHERTABLE will be deleted
Answer: Option A

Submit Your Solution Below and Earn Points !
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *