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 do I start sql from command line?
What is the difference between left join and right join?
How to take user input in pl sql?
What is sql rowcount?
what are different types of keys in sql?
How do you create a unique index?
Which table is left in left join?
Which normal form is best?
Why plvtab is considered as the easiest way to access the pl/sql table?
Explain the purpose of %type and %rowtype data types with the example?
What is mutating error?
Explain the difference in execution of triggers and stored procedures?
Is sql free?
Can I call a procedure inside a function?
Can we use update in sql function?