What is difference between SUBSTR and INSTR?



What is difference between SUBSTR and INSTR?..

Answer / 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

More Oracle General Interview Questions

Explain an index?

0 Answers  


What is an Oracle sequence?

1 Answers  


What are the database administrators utilities available?

0 Answers  


How to fetch the row which has the max value for a column?

0 Answers  


What is oracle rownum?

0 Answers  






What are virtual columns?

2 Answers   TCS,


t1 col1 col2 nishi 5000 lucky 6700 akash 7000 i want that a query that when i insert 7000 it will show me data already present and data will not insert. if data is not present it will insert.

2 Answers   MasterCard,


What is a procedure in oracle?

0 Answers  


Which are the five query types available in oracle?

0 Answers  


How to check your oracle database 10g xe installation?

0 Answers  


What WHERE CURRENT OF clause does in a cursor?

2 Answers  


How data locks are respected in oracle?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)