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

Can we create clustered index without primary key?

525


Explain how you can copy a file to file content and file to pl/sql table in advance pl/sql?

554


What is coalesce in sql?

566


What is java sql package?

543


Is sql an operating system?

546






What are the sql versions?

524


Define the select into statement.

576


How to create your own reports in sql developer?

544


Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?

565


Can we rename a column in the output of sql query?

545


Is crud a cuss word?

550


Which query operators in sql is used for pattern matching?

548


What is sql catalog?

571


what is rollback? : Sql dba

597


What are some predefined exceptions in pl/sql?

553