select * from orders where odate between '2010-01-01'and '2010-03-31' How do u fetch this into cursor?
2 5760what 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 8974how 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 5597if any of the column names is provided wrong, where do you get the error(during precompilation or during Bind)
3 7366In db2, how do you insert multiple rows in 1 query using a.) Cursors, b.) Normal query?? Give syntax for both.
CTS,
5 20175can any one give the list of some important sql abend codes which r frequently asked in interviews?
2 8655I 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.
3208what 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 12432OUTER 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 6760
What is db2 instance?
What are types of indexes?
Which component is responsible for db2 startup and shutdown?
What is with ur in db2?
What is the role of data manager in the db2 database?
What is an instance database?
What is blu acceleration in db2?
by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?
Why select is not preferred in embedded sql programs?
What is null value in db2?
Define buffer pool.
What is alias in db2?
What is the picture clause of null indicator variable?
what is the role of the cursor in db2?
What is a storage group (stogroup)?