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 is meant by magic query

1939


How to lock and unlock a user account in oracle?

836


How can windows applications connect to oracle servers?

707


How oracle handles dead locks?

796


What is background process in Oracle?

832


What are the different editions of oracle?

817


How to delete all rows a table in oracle?

803


In what script is snap$ created? In what script is the scott/tiger schema created?

2452


How do I limit the number of rows returned by an oracle query after ordering?

865


How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?

2950


How to manage transaction isolation level?

744


Explain drop constraint oracle?

778


How to write date and time literals in oracle?

733


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

726


What is an oracle tablespace?

777