Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



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

Answer / ankit

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

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

Can you define an Index if the table size less than 10 PAGES?

1 Answers   IBM,


Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

0 Answers  


How do you Load a table ?? and what is Load replace ?

2 Answers   Xansa,


How do I delete a table in db2?

0 Answers  


What is a subselect? Is it different from a nested select?

1 Answers  


Where do you specify them?

0 Answers  


What is bind package and plan in db2?

0 Answers  


how to u check the query is executing or not ?where will u check for sqlcode ?

6 Answers   Infosys,


What is copy pending and check pending in db2?

0 Answers  


what are bind concepts in db2 cobol?

0 Answers  


What is lock escalation?

2 Answers  


OUTER JOINS USED TO GET MATCHING AND NONMATCHING ROWS FORM 2 OR MORE TABLES BASED ON COLUMNS. SIMPLE JOINS ALSO DO THE SAME THEN WHAT IS THE USE OF OUTER JOINS.

1 Answers   Syntel,


Categories