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

How will you identify oracle database software release?

0 Answers  


how the indexes are stored in the Oracle Database?

0 Answers  


What is a trigger and what are its types?

0 Answers  


If any one has information regarding interview of NIC (National Informatics Centre),it would be of great help...

0 Answers   NIC,


What is a sub query? Describe its types?

0 Answers  






How to find the duplicate rows count from employees table in oracle?

0 Answers  


Can you create a synonym without having a table?

0 Answers  


How to concatenate two text values in oracle?

0 Answers  


What happens if you lost a data file?

0 Answers  


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

0 Answers   Oracle,


How can you merge two tables in oracle?

0 Answers  


how do u setup a replication site?

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)