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

Query to retrieve record for a many to many relationship ?

2076


Can you assign multiple query result rows to a variable?

543


What do you mean by a tablespace?

558


How to open and close an explicit cursor in oracle?

568


Please explain joins in oracle?

544






How to increment dates by 1 in oracle?

553


How to best split csv strings in oracle 9i?

576


How do I know if oracle is installed on windows?

480


11. Display the client number and name and the client number and name of the person who referred that client.

1913


What are a query and state the different types of queries and their uses?

506


How do you bind variables in oracle?

539


What is the use of aggregate functions in oracle?

572


What is ceil and floor in oracle?

565


How to install oracle database 10g xe?

556


Explain the use of parfile option in exp command.

512