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 is the use of system.effective.date variable in oracle?

1161


What is the exact use of Collections?

2190


What is save point in oracle database?

1361


Explain the use of parfile option in exp command.

1136


What is bulk copy or bcp in oracle?

1181


What is a static data dictionary in oracle?

1184


What is the string concatenation operator in oracle?

1226


How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?

1966


What types of joins are used in writing subqueries?

1030


How to create a new table in your schema?

1123


How to assign data of the deleted row to variables?

1115


Give the different types of rollback segments.

1075


How to write an inner join with the where clause in oracle?

1089


What are the various oracle database objects?

1198


What happens if you set the sga too low in oracle?

1221