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

Types of cursors?

Answer Posted / fahad iqbal

A cursor is a handle (pointer) in memory for a DML operation
(Select , Update).

There are mainly 2 types of cursors .
1) Implicit Cursor.
2) Explicit Cursor.

Implicit cursor: Oracle will implicitly creates an area for
the DML operations. Programmer will not have control on
implicit cursors. The only useful attribute on this implicit
cursor is SQL%ROWCOUNT , it will give the number of rows
affected by the recent DML operation.

The only Implicit cursor is SQL.

Explicit Cursor:
Explicit cursors are created by the programmer and
programmer have control on it
Programmer can

1) Open


2) Close

3) Fetch

and do some manipulations on the values

Explicit Cursors are classified into

1) Normal cursor

2) Parameterized cursor

3) Cursor For Loops and

4) REF cursors

REF Cursors:

Normally when we create a normal cursor , we cant change the
select query associated to that query (the query which is
given at the time of definition)

But using REF cursors , we can change the cursor statement also.

These REF cursors are useful when we are sending data from
one environment to another environment.

Thanks And Regards
FAHAD IQBAL

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by concurrent programs?

1037


Tell me how to find the custom directory in front end?

1053


In sequence i want to 11 and 15th values how we will write?

2022


How can we import the data into a database using sql * loader?

1123


Can you define an erp system?

1092


tell me the scenarios of the independent in reports

2564


What are the benefits of using soa architecture?

1180


how can i print random rows in plsql table

2414


what are the different transaction clauses in AR?

2054


What is instead of trigger in where we will use?

1124


Which oracle apps version you are very confident in?

1175


Explain oracle apps architecture.

1191


How can you achieve loose coupling in soa framework?

1175


What is a flexfield? List out its types.

1109


What do you understand by soa?

1100