adplus-dvertising
frame-decoration

Question

Which string function returns the index of the first occurrence of substring?

a.

INSERT()

b.

INSTR()

c.

INSTRING()

d.

INFSTR()

Answer: (b).INSTR()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which string function returns the index of the first occurrence of substring?

Similar Questions

Discover Related MCQs

Q. Which module links DBI to the web?

Q. What does CGI stand for?

Q. The line that is written at the top of the script to write a Perl script using CGI.pm is ___________

Q. What is the shebang line?

Q. Which of these is a read only variable?

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

Q. The synonym for last_insert_id session variable is _____________

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

Q. What returns a string containing an error message?

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

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

Q. What is the synonym for last_insert_id session variable?

Q. The Audit_log_events system variable is of type _____________

Q. mysql_next_result() does not return a status.

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

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

SELECT, SHOW, DESCRIBE

Q. What does mysql_fetch_row() return?

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

Q. User defined variables are session specific.

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