What will happen at the end of the following sequence of SQL commands?
BEGIN TRANSACTION
DELETE FROM MYTABLE WHERE ID=1
DELETE FROM OTHERTABLE
ROLLBACK TRANSACTION
BEGIN TRANSACTION
DELETE FROM MYTABLE WHERE ID=1
DELETE FROM OTHERTABLE
ROLLBACK TRANSACTION
A. The contents of OTHERTABLE will be deleted
B. The contents of both OTHERTABLE and MYTABLE will be deleted
C. The contents of OTHERTABLE will be deleted, as will be all the contents of MYTABLE whose ID is 1
D. The database will remain unchanged to all users except the one that executes these queries.
E. The database will remain unchanged
Answer: Option E
Which one of the following databases has PHP supported almost since the beginning?
A. Oracle Database
B. SQL
C. SQL+
D. MySQL
The updated MySQL extension released with PHP 5 is typically referred to as.
A. MySQL
B. mysql
C. mysqli
D. mysqly
A. extension=php_mysqli.dll
B. extension=mysql.dll
C. extension=php_mysqli.dl
D. extension=mysqli.dl
In which version of PHP was MySQL Native Driver(also known as mysqlnd) introduced?
A. PHP 5.0
B. PHP 5.1
C. PHP 5.2
D. PHP 5.3
Join The Discussion