1.

What is the difference between substr and instr function in Oracle?

Answer»
S.noSUBSTR (sub-string)INSTR (in-string)
1.It extracts the specific part of the string from the whole stringIt searches the entire string for finding the sub-string
2.The OUTPUT data TYPE is the number for the numeric input and the character for the date and the character inputThe output data type is ALWAYS the number
3.The second argument is always the numberThe second argument should be a number or the character depending UPON the data type of the input.


Discussion

No Comment Found