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 are iseries servers?
What do you do to keep the cursor from closing after a commit?
what is REORG? what is the use?
What does db2 blu stand for?
What is null value in db2?
What do you need to do before you do EXPLAIN ?
what is dynamic cursor?gives syntax for this?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
What is the max length of sqlca?
How to insert more than one record using insert?
how to resolve -811
insert into tablename a column1, column2 select column1, column2 from tablename b i am getting abend -104..can any one help?