Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is an instance in db2?

1040


What is db2 optimizer?

1253


Which component is used to execute the sql statements?

1104


My sql statement select avg(salary) from emp yields inaccurate results. Why?

1095


How do I import a csv file into db2?

995


What is table space in db2?

1025


can all users have the privilage to use the sql statement select * (dml)?

1177


What does db2 plan contain?

1031


How do you find the maximum value in a column in db2?

1108


what is diffrence b/w file-aid tool and file-aid utility???

4899


What is meant by explain?

1138


what is a corelated subquerry?

1126


What are the full forms of spufi and dclgen and why are they used?

1094


Is it possible using max on a char column?

1146


What is schema in db2?

1026