select * from orders where odate between '2010-01-01'and
'2010-03-31' How do u fetch this into cursor?

Answer Posted / mahesh

don't use * in select statement while retrieving data from
database

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is db2 restart?

1693


How do I copy a table in db2?

575


Name the lockable units in DB2?

665


How would you find out the total number of rows in a db2 table?

579


How do we specify index to include or not during bind process.

1674






How can tablespace be moved to another dasd volume that is allocated for that tablespace?

750


What is dbrm? When it will be created?

600


What is bufferpool in db2?

580


What action db2 takes when a program aborts in the middle of a transaction?

659


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

628


Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.

2324


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

751


What is a db2 cursor?

626


What is commit in db2?

596


What is the physical storage length of the data types: date, time, timestamp in the db2 database?

650