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 can u retrieve the data from null values using
applicaion program.

Answers were Sorted based on User's Feedback



how can u retrieve the data from null values using applicaion program...

Answer / avinash

The null indicator would be assigned a value of -1 if the
fetched column has a null value.

Is This Answer Correct ?    15 Yes 0 No

how can u retrieve the data from null values using applicaion program...

Answer / prachi

whenever you are retreving the data from null coloumn,
first you need to declare the null indicator in the working
storage section. and use this variable when you are
fecthing the data from null coloumn.

Is This Answer Correct ?    9 Yes 0 No

how can u retrieve the data from null values using applicaion program...

Answer / bhavani

When we retrieve data from a nullable field, we need to
have a null indicator declared in the working storage.

WS-NULL-INDICATOR s9(04) comp

And after you have fetched the value for that column,

we need to check the value of the null indicator.

It can have the following values

-2 - Exceptional condition
-1 - Null Value is present in that field
0 - Not null

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More DB2 Interview Questions

What is runstats db2?

0 Answers  


Is Cursor exicutable ?

3 Answers   TetraSoft,


On the create tablespace, what does the CLOSE parameter do?

1 Answers  


How to test SQL -911 error while developing COB-DB2 program

1 Answers   Satyam,


What is the physical storage length of each of the following DB2 data types: DATE, TIME, TIMESTAMP?

1 Answers   CTS,


What is a db2 schema?

0 Answers  


What is the difference between drop table and delete table?

0 Answers  


What is the database descriptor?

2 Answers  


What is IMAGECOPY ?

6 Answers  


Plan is an executable form of sql statements,But what exactly resides inside a Plan. what are the details inside Plan.

2 Answers   IBM,


What are iseries servers?

0 Answers  


What is the difference between nvl and coalesce?

0 Answers  


Categories