Interview Questions

What is difference between SUBSTR and INSTR?

Oracle DBA Interview questions and Answers


(Continued from previous question...)

What is difference between SUBSTR and INSTR?

INSTR function search string for sub-string and returns an integer indicating the position of the character in string that is the first character of this occurrence. SUBSTR function return a portion of string, beginning at character position, substring_length characters long. SUBSTR calculates lengths using characters as defined by the input character set.

(Continued on next question...)

Other Interview Questions