Can you use a select query in a loop to fetch multiple rows?
If so what is the advantage of using a cursor?
Answer Posted / satheesh reddi
no...for that we are using cursors. due to cursors we can retrieve or fetch number of rows at a time from the table
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are concurrency issues?
What is plan in cobol db2?
What is the role of data manager in the db2 database?
What is the syntax for seeing the columns and data types of a table in the db2 database?
Explain package in db2 and its advantages?
How can you classify the locks in db2?
Which isolation level provides maximum concurrency?
I 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.
Explain db2.
How do I change the column size in db2?
What is difference between alias and synonym 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?
Explain how can you do the explain of a dynamic sql statement?
B37 abend during spufi?
What is db2 catalog database?