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

Difference between an implicit & an explicit cursor.?

Answer Posted / basanti

IMPLICIT CURSOR: When we execute any sql statement, PL/SQL creates implicit cursor and manages automatically means implcit open & close takes place. It used when sql statement return only one row.
It has 4 attributes SQL%ROWCOUNT, SQL%FOUND, SQL%NOTFOUND, SQL%ISOPEN.

EXPLICIT CURSOR: It is created & managed by the programmer. It needs every time explicit open,fetch & close.
It is used when sql statement returns more than one row.
It has also attributes CUR_NAME%ROWCOUNT, CUR_NAME%FOUND, CUR_NAME%NOTFOUND, CUR_NAME%ISOPEN.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the logical operations?

1105


From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.

1052


How many objectname will be created for a single table drop function? Why 'flashback' query giving error "ORA-38312: original name is used by an existing object" while getting the table?

2239


What happens to indexes if you drop a table?

1159


What is oracle in java?

952


How to use attributes of the implicit cursor in oracle?

989


Explain about achiever in sql?

1011


What is Redo Log Buffer in Oracle?

1188


How to define a data source name (dsn) in odbc manager?

1011


What are the different types of trigger and explain its various uses and functions?

1070


What is the order of defining local variables and sub procedures/functions?

1041


What are dml statements in oracle?

1078


How to loop through data rows in the implicit cursor?

1054


What are the differences between interval year to month and interval day to second?

1012


What are the differences between date and timestamp in oracle?

1032