State the difference between implict and explict cursor's?

Answer Posted / selvaraj v , anna university c

Implicit Curosr : When a query return s Single Row Value
then Implicit Cursor is used.
It's return Only One Row. Curosr Name is assigned
Implicitly.

Implicit Cursor used for all SQL Stmts, that,
DECLARE,OPEN,FETCH,CLOSE.

It's defined by the Oracle Server wherenever the Opertions
Single Row.

Implicit Curosrs Automatically provides by Oracle which
performs DML Statements. Qureies return only one row.

We are able to handle NO_DATA_FOUND Exception in implicit
Cursor.

Explicit Curosr :

A subquery returns more than one row Explicit Curosr is
Created.

The rows returned by the query is called Active Set. It's
return multiple rows.

Curosr is assigned Explicitly. It's used to process
Multirow SELECT Statements.

Retrieving multiple rows the Programmer declare cursors
Explicitly.

Explicit Cursors defined by the User. Queries return more
than rows.

We are Not able to handle NO_DATA_FOUND Exception.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to install mysql? : Sql dba

788


What is trigger in pl sql?

736


What is the usage of distinct keyword?

815


What is a sql statement?

692


How do I run a pl sql program?

799






What are different types of statements supported by sql?

817


Explain the advantages and disadvantages of stored procedure?

853


What are the subsets of sql?

754


What are sql injection vulnerabilities?

690


When is a declare statement required?

867


Does truncate remove indexes?

721


Explain the update statement in sql

731


How does a self join work?

688


What is native sql query?

736


Explain how can you save or place your msg in a table?

775