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

Are sql database names case sensitive?

992


What is partition in sql query?

992


what is cursor and its type, what is ref cursor write a syntax to pass ref cursor into procedure out fucntion and call the procedure

1600


explain the difference between myisam static and myisam dynamic. : Sql dba

933


What is the difference between view and stored procedure?

955


What is full join?

947


What is the syntax to add a record to a table?

1079


how to extract a unit value from a date and time? : Sql dba

985


How to find 3rd highest salary of an employee from the employee table in sql?

1074


Does inner join return duplicate rows?

967


what is meant by urlencode and urldocode? : Sql dba

1166


How many types of keys are there in sql?

1031


What is a natural join sql?

961


how can you see all indexes defined for a table? : Sql dba

984


What is an emotional trigger?

999