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
What is a table partition?
What does seeding a database mean?
What does := mean in pl sql?
What is database white box testing and black box testing?
How long it takes to learn pl sql?
what are the advantages and disadvantages of cascading style sheets? : Sql dba
Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints
How can we optimize a sql query?
What is constant in pl sql?
Is pl sql useful?
How do I view stored procedures?
What are the constraints available in sql?
Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql
Why do we use sql constraints?
How do you delete a table?