Mysql miscellaneous
- 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 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.
- What does mysql_fetch_row() return?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
‘mysql_fetch_row()’ returns a MYSQL_ROW value, a pointer to an array of values. If the return value is assigned to a variable named row each value within the row is accessed as row[i].
- What is the Perl DBI?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The Perl DBI is the Perl Database Interface. The work of the interface is to form a link between the application programming interface in C with all the other programming languages.
- What is the default path to perl in Unix?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
All Perl scripts generally begin with a #! (shebang) line. A script is a file containing a sequence of commands. The Perl scripts are text files, which can be ceated using any text editor.