select * from orders where odate between '2010-01-01'and '2010-03-31' How do u fetch this into cursor?
2 4679what 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 7141how 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 4783if any of the column names is provided wrong, where do you get the error(during precompilation or during Bind)
3 6089In db2, how do you insert multiple rows in 1 query using a.) Cursors, b.) Normal query?? Give syntax for both.
CTS,
5 17747can any one give the list of some important sql abend codes which r frequently asked in interviews?
2 7694I 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.
2757what 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 11140OUTER 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 5967
What is the difference between nvl and coalesce?
Mention the length of physical storage of the given data types of db2 – date, timestamp, time
What is a collection in db2?
Define declaration generator (dclgen).
What is runstats utility in db2?
What are the contents of dclgen?
What is image copy in db2?
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
What is the physical storage length of timestamp data type?
What type of database is db2?
How would the varchar column remarks defined?
can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well
How is a typical db2 batch pgm executed?
Define sqlca.
How many databases can be created inside an instance in db2 ?