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 6248I 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 13990How do I handle -911 (deadlock) error in a db2 program so that the program will never abend?
3 21450I 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 8673While 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 111711) 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 6581
Which command is used to remove all rows from a table?
Define data page.
How can you do the explain of a dynamic sql statement?
How to resolve deadlock issue
What are union and union all?
What is runstats and reorg in db2?
What is db2 connect?
what is diffrence b/w file-aid tool and file-aid utility???
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
Where do you specify them?
Name the lockable units in DB2?
What are db2 tables?
How does db2 sample database connect?
What are the rules for db2 programming?
Mention a credible reason why select* is never given preference in an sql program that has been embedded.