select * from orders where odate between '2010-01-01'and '2010-03-31' How do u fetch this into cursor?
2 5975what is the steps followed in EXPLAIN Process or EXPLAIN command. (Explain is for identifying the optimized access path but how or what is the steps for doing the EXPLAIN)
IBM,
4 9166how can you copy records present in a flat physical file to a database file(physical file).please explain in rpg400 with a simple example
CTS,
1 5667if any of the column names is provided wrong, where do you get the error(during precompilation or during Bind)
3 7476In db2, how do you insert multiple rows in 1 query using a.) Cursors, b.) Normal query?? Give syntax for both.
CTS,
5 20363can any one give the list of some important sql abend codes which r frequently asked in interviews?
2 8734I HAVE 500 ROW TO UPDATE I WOULD LIKE TO USE ROLLBACK ALONG WITH COMMIT.WHAT IS THE SYNTAX TO CODE COMMIT AND ROLLBACK FOR EVERY 100 ROWS.AND HOW THE CURSOR ROLLBACK TO THE LAST COMMITTING POINT.
3261what is the syntax for FOR UPDATE CLAUSE in cursor declaration and how can u update using cursor? is it possible to update multiple rows at a time.
2 12563OUTER JOINS USED TO GET MATCHING AND NONMATCHING ROWS FORM 2 OR MORE TABLES BASED ON COLUMNS. SIMPLE JOINS ALSO DO THE SAME THEN WHAT IS THE USE OF OUTER JOINS.
1 6841
What is temporal table in db2?
Can you tell me how can you find out the # of rows updated after an update statement?
In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?
What is universal database?
What is dbrm? What it contains?
What is the maximum length of sqlca?
What do you mean by between and in? Is between inclusive of specified range values?
What is db2 command?
Define declaration generator (dclgen).
i want to maintain uniqueness on pdf without make lf??????????
What is the use of dclgen in db2?
Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference
What is coalesce in db2?
What is db2? Explain.
How do I delete a table in db2?