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...

When is the results table for the query in a DECLARE CURSOR
statement created?

Answer Posted / shailendra

cursor
declare cursor : it is not exectable statement it take
place in working storage section,it just keep the cursor
on that place where the condition is satisfied which is
define in the quary.


executable statement define in procedure division:

1> open cursor : it define now which cursor open to retrive
data, we can define many cursor at a time.
2> fetch cursor:this statement fetch the record which is
satisfy the condition
3> close cursor : it close the cursor

now if we want to fetch the same record again then it must
to go through open cursor statement again.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the various locking levels available?

1082


What is a cursor in programming?

1046


What is explain plan in db2?

968


What is with ur in db2?

1285


How many types of page locks can be held in db2?

1020


Is db2 a mainframe?

1025


Where can you declare a cursor in a cobol-db2 program?

1056


What is node in db2?

1033


How does db2 sample database connect?

1012


Can there be more than one cursor open for any program?

1160


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

1077


What are catalog tables in db2?

1032


How is the value function used?

1137


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

1179


What is the result of open cursor statement?

1071