adplus-dvertising
frame-decoration

Question

Which of the following returns a MySQL-specific numeric code?

a.

mysql_error()

b.

mysql_errno()

c.

mysql_sqlstate()

d.

mysql_close()

Posted under MySQL Database

Answer: (b).mysql_errno()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following returns a MySQL-specific numeric code?

Similar Questions

Discover Related MCQs

Q. Which of the following returns an SQLSTATE code?

Q. The argument to the function mysql_error() is _______________

Q. What does mysql_real_connect() return if it fails?

Q. The function load_defaults() reads the option files.

Q. All API calls return a value.

Q. The general statement-issuing routine is _______________

Q. For failure, mysql_query() returns _______________

Q. How many of the following return rows?

SELECT, SHOW, DESCRIBE

Q. mysql_fetch_row() returns _______________

Q. The columns containing binary value that include null bytes will not print properly using the %s printf() format specifier.

Q. mysql_store_result() does not return a result set.

Q. How many of the following is considered as a special character by ‘mysql_real_escape_string()’?

null byte, single quote, backslash

Q. What enables encrypted connections to be established?

Q. The exec_stmt_ssl is written in _______________

Q. On failure, ‘mysql_query()’ returns _______________

Q. Input handling cannot be customized with MySQL.

Q. By default, MySQL does not clip out of range numeric values to the nearest fit value.

Q. Which table in the ‘INFORMATION_SCHEMA’ stores information about storage engines and server plugins?

Q. How many of the following is (are) considered as a special character by ‘mysql_real_escape_string()’?

null byte, single quote, backslash

Q. The embedded server library containing the MySQL server linkable into applications is _______________