What is difference between SUBSTR and INSTR?

Answer Posted / parthasarathi

substr is used to get part of a string, instr is used to get particular string's position.

syntax of substr:-

substr(string,from which character we want,[how many characters we want])

syntax of instr:-

instr(string,'character')

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the execution control statements?

621


Can we create trigger on materialized view in oracle?

567


What is the difference between a hot backup and a cold backup in oracle?

578


How would you go about verifying the network name that the local_listener is currently using?

1609


Explain about the analyze command in oracle?

593






What is the difference between formal parameters and actual parameters?

547


How to initialize variables with default values?

637


How to check the oracle tns settings?

575


What is index in Oracle?

594


Difference between inner join vs where ?

613


what is the difference between functional dependecy and multilevel dependency?

1997


What is recovery manager in Oracle?

592


how to use select statement as formal parameter in procedure specification?(someone said that using string) ex:-procedure(a in number,select ename from emp ) i am asking syntax like this?

1533


How do I learn what codesets are available in oracle?

575


Explain index?

755