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 data from a nullable column?

Answers were Sorted based on User's Feedback



How do you retrieve the data from a nullable column?..

Answer / s

DB2 application must also include a null indicator host
variable along with the host variable to contain the actual
value.

Is This Answer Correct ?    6 Yes 1 No

How do you retrieve the data from a nullable column?..

Answer / amol

We have to include one variable in working storage datatype
s9(4).

and while retriveing the value from nullable column we can
give ;host variable :null indicater. If value from column
is found to be null it will stoare in null indicater.

If we have not include the null indicater and value while
fetching found to be null the program will abend with
saqlcode -305.

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More DB2 Interview Questions

what is REORG? what is the use?

4 Answers  


I need to view the number of tables existing under one particular Owner. Is it possible? If so, pl give the SQL query for this?

0 Answers  


In BIND, isolation level parameter specifies the duration of page lock and ACQUIRE, RELEASE also do almost the same thing. What is the exact difference between the two? Do they work in conjunction while executing SQL queries and obtaining locks?

8 Answers   Syntel,


Is DECLARE TABLE in DCLGEN necessary? Why it used?

3 Answers  


What are leaf pages?

3 Answers  


What do you mean by NOT NULL? When will you use it?

3 Answers  


What is the connection string to connect to the DB2 Database ?

0 Answers   MCN Solutions,


have 3 tables table1, table2 and table3 which contains employee information. table1 is master table, table2 contains emp details like emp no and so on, table 3 contains emp salary. so if any emp leave company between 25th - 30th of every month it has to get updated in tables. but it is not getting updated. What is the reason.

0 Answers  


how to fetch first 100 rows in db2

2 Answers   IBM,


How to see the structure of db2 table??

4 Answers   IBM,


What are packages in db2?

0 Answers  


Define sqlca.

0 Answers  


Categories