Mysql miscellaneous
- Input handling can be customized with MySQL.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
With mysql, raw SQL statements can be entered. With MySQL programs input methods can be provided for the user that are more intuitive and easier to be used. So input handling is customized.
- What does ‘mysql_query()’ return on failure?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Both of the functions named ‘mysql_query()’ and ‘mysql_real_query()’ return zero for statements that succeed. They return non zero for failure. A statement is successfully executed if the server accepts it.
- The statement that exits a labeled flow-control construct is _____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The ‘LEAVE’ statement is used to exit a labeled flow-control construct. This statement must appear within the construct that has the given label. The syntax of the statement is ‘LEAVE label’.
- What sets the association between one or more MyISAM tables and the named key cache?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
‘CACHE INDEX’ sets up an association between one or more MyISAM tables and the named key cache which must already exist. The INDEX privilege is needed for each table named in the statement.
- The MySQL double dashed comment style is same as the SQL standard.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The MySQL double-dash (–) comment style is different from the comment style of standard SQL, which begins with just two dashes. It does not require the space before any following text.