adplus-dvertising
frame-decoration

Question

What does mysql_query() return on failure?

a.

0

b.

1

c.

-1

d.

a non-zero

Answer: (d).a non-zero

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does mysql_query() return on failure?

Similar Questions

Discover Related MCQs

Q. The option that enables multiple-statement execution is ____________

Q. Multiple statement execution is disabled by default.

Q. What is the type of Audit_log_events system variable?

Q. Hexadecimal values assigned to user variables are treated as _____________

Q. User defined variables are session specific.

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

Q. What does mysql_fetch_row() return?

Q. How many of the following do not return rows?

SELECT, SHOW, DESCRIBE

Q. The option that executes all SQL statements in a SQL script irrespective of the number of errors is ____________

Q. mysql_next_result() does not return a status.

Q. The Audit_log_events system variable is of type _____________

Q. What is the synonym for last_insert_id session variable?

Q. Which keyword inserted in the SHOW STATUS statement shows the values for the current connection?

Q. The statement that views status variables by aggregating the values over all connections is _____________

Q. What returns a string containing an error message?

Q. When building from source, the embedded server library is enabled by what?

Q. The synonym for last_insert_id session variable is _____________

Q. Which variable when set to 1 would enable foreign key checking for InnoDB tables?

Q. Which of these is a read only variable?

Q. What is the shebang line?