select * from orders where odate between '2010-01-01'and
'2010-03-31' How do u fetch this into cursor?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the significance of the CURSOR WITH HOLD clause in a cursor declaration?
what is parm utility
What is null indicator in db2?
How do I create a view in db2?
What is cursor with hold option in db2?
When can an insert of a new primary key value threaten referential integrity?
what is contained in the DB2 node lock file? A) data base names B) data base users names C) license keys D) server names
how can we retrieve the 100 records of the file ?
What does db2 stand for?
How to check last update on table in db2?
What is usage pointer in cobol?
What is the STOSPACE Utility used for?