adplus-dvertising
frame-decoration

Question

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

null byte, single quote, backslash

a.

3

b.

1

c.

2

d.

0

Posted under MySQL Database

Answer: (a).3

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How many of the following is (are) considered as a special character by ‘mysql_real_escape_string()’? null byte, single quote, backslash

Similar Questions

Discover Related MCQs

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

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

Q. An embedded application includes the server side only.

Q. Converting a client/server application to embedded server is simpler.

Q. Which clause is used to display information that matches a given pattern?

Q. Comparing a known value with NULL results into _______________

Q. Which is the command to move the cursor to the beginning of line in mysql input editor?

Q. The name of the option file in Unix is __________

Q. System variable in MySQL server that enables to configure the SQL mode is __________

Q. Multiple statement execution is enabled by default.

Q. Which option enables multiple-statement execution?

Q. mysql_next_result() returns a status.

Q. To see the table structure which command is issued?

Q. Which character is illegal in naming an unquoted identifier in SQL?

Q. Which statement is valid if ‘`sampledb`’ is a database and ‘`tbl`’ is a table in it?

Q. The default case sensitivity of the database and table names depends on ___________

Q. To how many of the following does the prepared-statement API apply to?

CREATE TABLE, DELETE, DO, INSERT

Q. The binary protocol does not support all statements.

Q. The binary protocol is more difficult to use.

Q. The maximum collations a character set can have is ______________