select * from orders where odate between '2010-01-01'and
'2010-03-31' How do u fetch this into cursor?
Answer Posted / muneer
Declare orders_cur cursor
for
select * from orders where odate between '2010-01-01'and
'2010-03-31'.
Open orders_cur
fetch orders_cur....
Hi friends i think that will the procedure ...if any mistake
suggest me
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what is the responsibility of the construction superintendent
What is db2 stogroup?
What is cursor with hold option in db2?
What is db2 bind process?
What is scrollable cursor in db2?
Explain correlated sub-queries.
What is buffer pool?
Highlight all the advantages that are attached to a package.
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 the physical storage length of date data type?
What is performance tuning db2?
How do I create a view in db2?
Explain about rct.
What is db2 look?
What is clone table?