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 6354I 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 14391How do I handle -911 (deadlock) error in a db2 program so that the program will never abend?
3 21695I 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 8863While 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 113521) 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 6697
How do I add a column in db2?
What is the latest version of ibm db2?
What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?
Which is faster delete or truncate?
Which command is used to remove all rows from a table?
How does db2 sample database connect?
When reorg is used?
what is the sqlcode -501
How do you concatenate the firstname and lastname from emp table to give a complete name?
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
How do I create a view in db2?
How will you return the number of records in table?
What is explain in db2?
What is ibm db2 used for?
Explain correlated sub-queries.