assume ther are 5000 records in a database and want to fetch using cursor. cursor fetches only 3000 records and fetch is not happening for remaining 2000 records. why it happens and how to rectify it
Answer Posted / anonumous
it would be FETCH 300 ONLY
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a cursor in programming?
what is a corelated subquerry?
What os does db2 run on?
What is concurrency?
Name the lockable units in DB2?
Which isolation level provides highest data integrity?
What is host variable?
Can we delete records from view?
How do I add a column in db2?
What is difference between rollback and commit?
What is a db2 package?
How do you select a row using indexes in db2?
What is image copy in db2?
While unloading huge amount of data from table. Suddenly job failed some error. Imagine 1M data unloading, In that 90% data unloaded only 10% left, So if want to unload the rest 10% what needs to be done? Whether do i need to start from top or anything ?
Is db2 relational database?