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 to define the a field which accepts value till 99999.99
in db2

Answers were Sorted based on User's Feedback



How to define the a field which accepts value till 99999.99 in db2..

Answer / kk

in db2 decimal(7,2) & application cobol pgm 9(5)v99.

Is This Answer Correct ?    33 Yes 1 No

How to define the a field which accepts value till 99999.99 in db2..

Answer / ram prajapati

in db2 decimal(7,2) & application cobol pgm 9(5).99
because 9(5)v99 will print 9999999 and not 99999.99.
9(5).99 is an edited pic variable so it will show the
desired output while the previous one will not.

Is This Answer Correct ?    2 Yes 0 No

How to define the a field which accepts value till 99999.99 in db2..

Answer / keshireddy

PIC S9(5)V99

Is This Answer Correct ?    2 Yes 19 No

Post New Answer

More DB2 Interview Questions

if suppose i am having an ACCOUNT table with 3 coloumns ACC. NO,ACC. NAME,ACC. AMOUNT . If a unique index is also defined on ACC.NO and ACC.NAME then write a query to retrieve account holders records who have more than 1 ACC.

8 Answers   Wipro,


What is the difference between oracle and db2?

0 Answers  


How to resolve -917 sql code in DB2?

3 Answers   Cap Gemini,


What is the syntax required for the creation of a cursor?

1 Answers  


In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?

0 Answers  


File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?

0 Answers   Infosys,


What is view db2?

0 Answers  


What are the different types of base tables?

0 Answers  


Explain about cursor stability?

0 Answers  


What is the cascade rule and how does it relate to deletions made with a subselect?

1 Answers  


What is a clustering index?

2 Answers  


What if , we failed to mentioed null indicator in sql select query , that may retrieve null value ?

2 Answers   Cap Gemini,


Categories