Mysql miscellaneous
- The option that executes all SQL statements in a SQL script irrespective of the number of errors is _____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
If SQL queries in a file are run using mysql in batch mode, mysql either quits after the first error. If the –force option is specified all the queries are executed indiscriminately.
- 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.
- The columns containing binary value that include null bytes will print properly using the %s printf() format specifier.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The columns containing binary value including null bytes do not print properly using the %s printf() format specifier. printf() expects a null terminated string. It prints the column value only up to the first null byte.
- Which of these is not a comment specifying construct?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The MySQL server understands three types of comments. The single line ‘#’ construct, the multiline /*…*/ construct and the — comment construct. MySQL conforms to the comment standards of SQL.
- 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.