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

in my project..TEST is db2 8.1 version In PROD it is 7.1 if i do REORG in TEST.. can I use the same REORG jcl with out modification in PROD region (this is DB2 8.1 )? if not, what modification i need to do in my REORG control card?

0 Answers  


What is dclgen in db2?

0 Answers  


What is a DB2 plan?

8 Answers  


What are packages in db2?

0 Answers  


Usually, which is more important for DB2 system performance - CPU processing or I/O access?

1 Answers  


What is the purpose of the SDSNLOAD dataset in the STEPLIB while running DB2 programs?

2 Answers  


How can deadlocks be resolved?

0 Answers  


How to resolve -502 sql code in DB2?

2 Answers   Cap Gemini,


select distinct(empid),distinct(dept),name from EMP will the above query work?

2 Answers   CTS,


One program calling 5 subprograms, its a cobol db2 program, after precompilation how many plans and packages will created?

3 Answers  


What are foreign keys?

1 Answers  


What is difference between *omit and *nopass?

1 Answers   IBM, TCS,


Categories