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 nderstand the sql stmts executed successfully or not ?



how can u nderstand the sql stmts executed successfully or not ?..

Answer / lu

Oh man, you have to check SQLCODE for each SQL
stament...SQLCODE = 0 it's good.... SQLCODE not = 0 it's
bad.
OR you look in SQLCA... verify this SQLERRD

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More DB2 Interview Questions

What is db2 stogroup?

0 Answers  


what is the use of bind parameter, Replace?

5 Answers   IBM,


Why do we need reorg in db2?

0 Answers  


What is phantom read in db2?

0 Answers  


Is it possible to precompile if db2 goes down?

4 Answers   Target,


What is the role of the data page in the db2 database?

0 Answers  


In cursor program-1 can we create another cursor program-2 inside the cursor program-1.If yes how/no why ?

2 Answers   Wipro,


in the CURSOR declare statement, if i am using an where clause and trying to compare the value with a host-varialble. EXEC SQL DECLARE C1 CURSOR FOR SELECT DEPTNO, DEPTNAME, MGRNO FROM DEPARTMENT WHERE ADMRDEPT = :ADM-DEPT Where would i need to provide value to this host-variable in the where clause. how could i pass value to this host-variable to check it.

2 Answers   iGate,


what is the total syntax for fetch ? can any one please give me all the details of fetch ? thx

2 Answers   IBM,


How can deadlocks be resolved?

0 Answers  


How we create a tables in db2,what is the process/syntax to create a table with example plz?

2 Answers  


What is db2 bind process?

0 Answers  


Categories