what is the difference between implicit and explicit trigger
Answers were Sorted based on User's Feedback
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 |
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 |
in a package one procedure is wrong package shows valid or not
How do I install sql?
What is the difference between nvl function, ifnull function, and isnull function?
define sql update statement ? : Sql dba
Can we interchange parameters in procedure while calling
What is a nested table in word?
what is a trigger in mysql? Define different types of trigger. : Sql dba
What is a CTE (Common Table Expression), and how is it different from a subquery?
types of exceptions and what is meant by pragma autonomous_transaction ?what is the use.
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?
Explain clause in sql?
Can we write ddl statements in functions?