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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the syntax for creating a table in the db2 database?

1141


How can the firstname and the lastname from the emp table be concatenated to generate complete names?

1318


Define check constraint.

1125


Discuss about db2 bind?

1148


can we view the access paths created by dbrm ? how ? thx

7191


SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected

11736


How do we specify index to include or not during bind process.

2169


How is deadlock resolved?

1192


What is difference between rollback and commit?

1199


What is a page in db2?

1069


Is db2 a mainframe?

1091


What are types of indexes?

1185


What is check constraint. Explain with example.

1156


How to restart a DB2 program?

1951


What is db2 optimizer?

1302