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...


In cursor program perform para varying until 1 by 1
fetch para cursor------close para
in the blank what will come for confirming in the database?



In cursor program perform para varying until 1 by 1 fetch para cursor------close para in the blank..

Answer / ekalavya

You can read the variables from SQLCA. For eg. you can
check SQLCODE.

Include SQLCA in the working storage of the progarm.

EXEC SQL
INCLUDE SQLCA
END-EXEC.

then check for the SQLCODE after your SQL query.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More DB2 Interview Questions

How does db2 sample database connect?

0 Answers  


How do I delete a table in db2?

0 Answers  


What is the use of DELGEN in DB2? Can we Write the program with out using it?

6 Answers   Cap Gemini,


what's the error code for Unique Index Violation?

2 Answers  


Where are plans stored?

2 Answers  


What are union and union all?

0 Answers  


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

0 Answers  


What is a host variable?

3 Answers  


What is lock contention?

1 Answers  


why db2 is called as universal database?what is the storage capacity of db2v9 n what are the advantages of db2

3 Answers  


What is ibm db2 used for?

0 Answers  


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

2 Answers   IBM,


Categories