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?
HCL,
1 6358I have a table(product),It contain fields(productname,cost). I want to retrieve the product name ,which cost is second maximum in the table?
10 14411How do I handle -911 (deadlock) error in a db2 program so that the program will never abend?
3 21712I have two tables A and B. Both tables are connected with SSN number as foreign key. I want to retrieve a column data from B table. How will you write a query?
CTS,
3 8874While creating a table, by mistake you have given size of one field as 10. But as per requirement size should be 8. What is your next step?
4 113701) I have 3 programs : PGMA, PGMB, PGMC. PGMA calls PGMB and PGMB calls PGMC. I have to do inserts, updates in all the 3 pgms. 2) Say PGMC has done its work successfully and returned to PGMB 3) PGMB had an SQL error while doing some update 4) PGMA has already done some updates before calling PGMB all are running under the same CICS region. What will happen if I issue SYNCPOINT ROLLBACK in PGMB when it abends ? Does all the changes in PGMA,B,C rollback ? (because all the pgms belong to same task).
1 6700
Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?
What os does db2 run on?
How to check last update on table in db2?
What is a bind in db2?
What is phantom read in db2?
What is the use of predicate?
What is the max length of sqlca?
What are the different types of base tables?
How to restart a DB2 program?
What is null value in db2?
How to take backup of table in db2?
What is the difference between using bind () and rebind () methods of naming class?
What is dbrm? What it contains?
Which component is responsible for db2 startup and shutdown?
How do I add a column in db2?