PHP Databases Handling If there is no error, then what will the error() method return? TRUE Empty String FALSE 0 TRUE Empty String FALSE 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling The ............. statement is used to delete a table. DEL TABLE REMOVE TABLE DELETE TABLE DROP TABLE DEL TABLE REMOVE TABLE DELETE TABLE DROP TABLE ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling What does the DESC keyword do in the following query?SELECT * FROM MY_TABLE WHERE ID > 0 ORDER BY ID, NAME DESC It causes the result set to include a description of the NAME field It causes the dataset returned by the query to be sorted in descending order It causes rows with the same ID to be sorted by NAME in ascending order It causes rows with the same ID to be sorted by NAME in descending order It causes the result set to include a description of the NAME field It causes the dataset returned by the query to be sorted in descending order It causes rows with the same ID to be sorted by NAME in ascending order It causes rows with the same ID to be sorted by NAME in descending order ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling What will happen at the end of the following sequence of SQL commands?BEGIN TRANSACTIONDELETE FROM MYTABLE WHERE ID=1DELETE FROM OTHERTABLEROLLBACK TRANSACTION The contents of OTHERTABLE will be deleted The contents of both OTHERTABLE and MYTABLE will be deleted The database will remain unchanged The contents of OTHERTABLE will be deleted, as will be all the contents of MYTABLE whose ID is 1 The contents of OTHERTABLE will be deleted The contents of both OTHERTABLE and MYTABLE will be deleted The database will remain unchanged The contents of OTHERTABLE will be deleted, as will be all the contents of MYTABLE whose ID is 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling In PHP in order to access MySQL database you will use: sql_connect() function mysql-connect() function mysqlconnect() function mysql_connect() function sql_connect() function mysql-connect() function mysqlconnect() function mysql_connect() function ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling Which one of the following statements can be used to select the database? mysqli=select_db(‘databasename’); $mysqli->select_db(‘databasename’); mysqli->select_db(‘databasename’); $mysqli=select_db(‘databasename’); mysqli=select_db(‘databasename’); $mysqli->select_db(‘databasename’); mysqli->select_db(‘databasename’); $mysqli=select_db(‘databasename’); ANSWER DOWNLOAD EXAMIANS APP