1.

The string function that returns the index of the first occurrence of substring is _____________(a) INSERT()(b) INSTR()(c) INSTRING()(d) INFSTR()I got this question in examination.The origin of the question is Functions topic in section Data Type Reference, Operators and Functions of MySQL

Answer»

Correct choice is (B) INSTR()

Explanation: The string function ‘INSTR()’ is used to RETURN the index of the FIRST OCCURRENCE of the substring. The function ‘INSERT()’ is used to insert a substring at the specified position up to the specified number of characters.



Discussion

No Comment Found

Related InterviewSolutions