What is the difference between anonymous block and named
blocks?
Answer Posted / santosh kumar
anonymous block cannot be stored in database. it start with
"Declare" keyword can also contain name but that will be
temporary block. it only exist in the oracle work area for
during execution time after execution it destroy from the
memory. it cannot be called for future use.
but named block exist in the database and can be reusable.
we can call it any time it also called pl/sql database objects.
like......
procedure (it will exist in the "user_source") dictionary
view.
function (it will exist in the "user_source") dictionary
view.
package (it will exist in the "user_source") dictionary
view.
trigger (it will exist in the "user_triggers") dictionary
view.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is replication id?
Can we create foreign key without primary key?
Define the select into statement.
How to know the last executed procedure?
Why do we use view in sql?
How to move files from one directory to another in pl sql?
What is the sql case statement?
Is it possible to create startup or shutdown trigger for on-schema?
What is sql trigger example?
what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba
What is primary key sql?
What is a subquery in sql?
What is insert command in sql?
how to include comments in sql statements? : Sql dba
What are the differences between implicit and explicit cursors?