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

What is the use of cursor ? how cursor allocate context area for executing the sql statement?

Answer Posted / kamal

Cursor is a named private SQL area from where information
can be accessed. Cursors are required to process rows
individually for queries returning multiple rows.


Within the library cache, parsed SQL is stored as cursors.
The cursors are indexed by handlers referencing memory
locations within which parsed statements and information
relating to processing are stored. A context area is a
shared area of memory that stores the environment and
session variables for an instruction. Buffer caches store
active data and use a cache replacement scheme storing the
most recently used data.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is trigger and stored procedure in sql?

976


Explain table and field in sql?

1015


Name three sql operations that perform a sort.

957


How to fix oracle error ora-00942: table or view does not exist

955


How do I run sql?

1093


Can a table contain multiple foreign key’s?

948


Which is better stored procedure or query?

918


Why functions are used in sql?

927


Does varchar need length?

932


Is pl sql different from sql?

936


What are the key differences between SQL and PL SQL?

1147


How do I save the results of sql query in a file?

926


What are the advantages of sql?

1006


What is pl/sql language case sensitive?

1059


Which is faster union or join?

901