State the difference between implict and explict cursor's?

Answers were Sorted based on User's Feedback



State the difference between implict and explict cursor's?..

Answer / swapna

Implicit Cursor are declared and used by the oracle
internally. whereas the explicit cursors are declared and
used by the user.

more over implicitly cursors are no need to declare oracle
creates and process and closes autometically. the explicit
cursor should be declared and closed by the user.

More over Explicit Cursors were used to retrieve values
from two or more rows.

Is This Answer Correct ?    28 Yes 2 No

State the difference between implict and explict cursor's?..

Answer / l..l.n.reddy

IMPLICT CURSOR:- Automatically porvide by oracle which
perform DML statements. queries returns only one row.

EXPLICT CURSOR:- Defined by user. queries returns more
than rows.

Is This Answer Correct ?    16 Yes 4 No

State the difference between implict and explict cursor's?..

Answer / madhuri

The implicit cursor is used to process INSERT, UPDATE,
DELETE, and SELECT INTO statements. During the processing of
an implicit cursor,Oracle automatically performs the OPEN,
FETCH, and CLOSE operations.

Where as in explicit cursors,the process of its working is
done in 4 steps namely DECLARE a cursor,OPEN a cursor,
FETCH from cursor and CLOSE a cursor.

Is This Answer Correct ?    16 Yes 6 No

State the difference between implict and explict cursor's?..

Answer / 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

State the difference between implict and explict cursor's?..

Answer / nageswara rao orsu

Implicit cursors: used for all DML statements and
single-row queries
Explicit cursors: used for queries of zero, one, or
more rows

Is This Answer Correct ?    1 Yes 0 No

State the difference between implict and explict cursor's?..

Answer / bhavesh shah

Implicit cursor:- It always return one row, and no loop is
used in.
Explicit cursor:- It returns more than one row and here loop
is used.

Is This Answer Correct ?    5 Yes 5 No

State the difference between implict and explict cursor's?..

Answer / pradeep

Explicit Cursor:-We are not able to Handle NO_DATA_FOUND
Exception.

Implicit Cursor:-We are able to Handle NO_DATA_FOUND
Exception.

Is This Answer Correct ?    6 Yes 12 No

Post New Answer

More SQL PLSQL Interview Questions

What is delete command in sql?

0 Answers  


declare l1 number := null; l2 number :=null; begin if l1=l2 then message('equal'); else if l1<>l2 then message('not equal'); else message('else'); end if; end if; end; What will be the output ?

7 Answers   Oracle,


How to test for null values?

0 Answers  


What's the difference between a primary key and a clustered index?

0 Answers  


how can we find the select statement is indexed or not?

3 Answers   CTS,






What are local and global variables and their differences?

0 Answers  


write a query to remove null following table are id name 101 dinesh null jyothi null bharathi 102 suresh null shilpha 103 prakesh null suma i want the output format like id name 101 dinesh 102 suresh 103 prakesh

3 Answers   TCS,


in oracle 10g sw after compiling procedure how to pass parameter values ,if we (v_empid out number)how to give empid after successful compilation program.This site exact suitable for 10g with respect to question & answer same format , im trying sql browser & sql command prompt using exec procedure name & respective parameters.

0 Answers  


What are the types of operators available in sql?

0 Answers  


How can one get sql*loader to commit only at the end of the load file? : aql loader

0 Answers  


Explain what is an index?

0 Answers  


Define SQL and state the differences between SQL and other conventional programming Languages?

0 Answers  


Categories