How do you retrieve the first 5 characters of firstname column of db2 table emp?

Answer Posted / ankit

Select substr(firstname,1,5) as firtname from emp;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ibm db2 database?

541


Define sqlca.

651


What is dbrm? When it will be created?

602


What's The Percentage Free Space ?

775


What is the default page size of buffer pools?

650






What is the role of union all and union

651


What is buffer pool?

614


What is the usage of open cursor command?

601


How do I delete a table in database?

599


What is a db2 package?

600


What is clone table?

592


Define predicate?

645


What is the purpose of using commit?

619


What is a trigger in the db2 database?

596


What is null indicator in cobol db2?

587