Difference between SUBSTR and INSTR?

Answer Posted / shrikant

Hi,
Yes Tulsi is right.
Execute the below queries & you will see the diff clearly -

SELECT instr('hello','e') FROM dual
SELECT substr('hello',2,3) FROM dual

Is This Answer Correct ?    34 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The select into statement is most often used to create backup copies of tables or for archiving records?

574


What are all types of user defined functions?

538


What is the process of debugging?

563


can sql servers linked to other servers like oracle? : Sql dba

566


What are the topics in pl sql?

532






What is trigger with example?

581


What are the ways on commenting in a pl/sql code?

520


Hi how to import oracle sequence in Informatica? Please write stored procedure code that will import oracle sequence in Informatica SP transformation as per below scenario Oracle table product list Pro_id, pro_name 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights Now a new flat file with new product list needs to be added to oracle table product list with oracle sequence. flat file product Prono,pro_name, 1, 20 watt tube light 2, 30 watt tube light & target should be like 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights. 104, 20 watt tube light 105, 30 watt tube light thks reg suvarna joshi suvarnaatsuvarna@rediffmail.com

2078


Is sql easier than java?

537


What is secondary key?

520


What is the difference between microsoft access and sql?

504


What is the benefit of foreign key?

538


What are sql functions? Describe in brief different types of sql functions?

500


What is rowid in sql?

516


Do we need to create index on primary key?

475