How is the SUBSTR keyword used in sql?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is null value in db2?

563


Explain dclgen.

722


What is temporal table in db2?

601


Who uses db2?

573


Comment whether the cursor is closed during commit or not.

670






What is dbrm? When it will be created?

594


What is syscat in db2?

574


How many types of page locks can be held in db2?

589


Can there be more than one cursor open for any program?

657


How can we read records for specific member in CL? AND rpg?

231


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

698


What is the default page size of buffer pools?

644


What is data manager?

605


What is role in db2?

614


what is the responsibility of the construction superintendent

1660