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

Can select statements be used on views in oracle?

600


How data locks are respected in oracle?

587


How many types of auditing in Oracle?

573


How to delete a column in an existing table?

604


What types of joins are used in writing subqueries?

577






what is port in oracle? how is it related to database application.

1446


How many types of tables supported by oracle?

592


How to start a specific oracle instance?

589


How to work with data objects interactively?

565


How to rename an existing table?

619


What is oracle and what are its different editions?

587


can u plz provide me oca sql dumps please i need them

1480


how the Oracle Prepares the Execution Plan and how it chooses the Optimal one?

1841


How to insert a record into a table?

652


Who developed oracle & when?

579