How is the SUBSTR keyword used in sql?



How is the SUBSTR keyword used in sql?..

Answer / s

Select * from emp
where SUBSTR(empname,4,2) = 'EN'

4 is the starting position and returns 2 characters after
that.

Is This Answer Correct ?    8 Yes 5 No

Post New Answer

More DB2 Interview Questions

what is SPUFI ?

2 Answers  


What is QUIESCE?

2 Answers  


What are the advantages of using a PACKAGE?

2 Answers  


What is the maximum length of sqlca?

0 Answers  


What is iseries database?

0 Answers  






What is sqlca?

0 Answers  


what is the maximum number of tables that can be joined ?

8 Answers   IBM, TCS,


What is an asychronous write?

1 Answers  


What are column-name qualifiers used?

1 Answers  


what happend with out using Commit,when closing cursor and program?

5 Answers   CSC,


How do you filter out the rows retrieved from a Db2 table ?

1 Answers  


Which catalog tables contain authorization information?

1 Answers  


Categories