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

Which environment variables are absolutely critical in order to run the OUI?

0 Answers  


What is a Data File ?

1 Answers  


What are the attributes of cursor?

0 Answers  


How to define a data source name (dsn) in odbc manager?

0 Answers  


How to connect to the server with user account: sys?

0 Answers  






What is ordinary table in oracle?

0 Answers   MCN Solutions,


What are the various oracle database objects?

0 Answers  


What is the effect of setting the value 'FIRST_ROWS' for OPTIMIZER_GOAL parameter of the ALTER SESSION command ?

1 Answers  


Why do I get java.lang.abstractmethoderror when trying to load a blob in the db?

0 Answers  


How to assign values to variables?

0 Answers  


What are the factors causing the reparsing of SQL statements in SGA?

1 Answers  


What is control file used for?

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)