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
How to make a copy values from one column to another in sql?
What is a null value?
What are % type and % rowtype?
Are stored procedures compiled?
What are types of exception?
How do I restart sql?
Which join condition can be specified using on clause?
How are functions and procedures called in PL/SQL?
What is the use of partition by in sql?
What are the different operators available in sql?
What is information schema in sql?
What is the difference between functions, procedures, and packages in pl/sql?
Why is there a need for sqlcode and sqlerrm variables?
What are the advantages of stored procedure?
what is meant by nl2br()? : Sql dba