what is the difference between implicit and explicit trigger

Answers were Sorted based on User's Feedback



what is the difference between implicit and explicit trigger..

Answer / slokh

when we fire any DML operation a memory is alocated. this
memory area is called context area or cursor. data is
retieved and stored in this area

implicit cursors are automatically created by the Oracle.
when you perform any DML operation a memory has been
automatically created, and when the operation is finished
it automatically release the memory space, here every thing
is controlled by the oracle itself.

explicit cursors are the cursors, where the user defined
for which select statement the cursor is being created,
when to fetch the data, and release the memory space. on
other words the control is over the programmer.

Is This Answer Correct ?    1 Yes 10 No

what is the difference between implicit and explicit trigger..

Answer / gaurav gupta

However,queries that return more than one row you must
declare an explicit cursor or use a cursor FOR loop.
Explicit cursor is a cursor in which the cursor name is
explicitly assigned to a SELECT statement via the
CURSOR...IS statement.

An implicit cursor is used for all SQL statements Declare,
Open, Fetch, Close. An explicit cursors are used to process
multirow SELECT statements An implicit cursor is used to
process INSERT, UPDATE, DELETE and single row SELECT. .INTO
statements.

Is This Answer Correct ?    3 Yes 14 No

Post New Answer

More SQL PLSQL Interview Questions

in a package one procedure is wrong package shows valid or not

4 Answers  


How do I install sql?

0 Answers  


What is the difference between nvl function, ifnull function, and isnull function?

0 Answers  


define sql update statement ? : Sql dba

0 Answers  


Can we interchange parameters in procedure while calling

1 Answers   TCS,






What is a nested table in word?

0 Answers  


what is a trigger in mysql? Define different types of trigger. : Sql dba

0 Answers  


What is a CTE (Common Table Expression), and how is it different from a subquery?

3 Answers  


types of exceptions and what is meant by pragma autonomous_transaction ?what is the use.

4 Answers   3i Infotech,


There is a table, In one column it has implemented a index, but the index is disturbed by the regular dml statements.. but still we need to keep the index. how it is possible?

1 Answers   Cognizant,


Explain clause in sql?

0 Answers  


Can we write ddl statements in functions?

0 Answers  


Categories