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 the difference between left and left outer join?
Is vs as in pl sql?
Explain clause in sql?
Why do we need cursors in pl sql?
What is the left table in sql?
Does execute immediate commit?
What is using in sql?
Explain how you can copy a file to file content and file to pl/sql table in advance pl/sql?
Can you have more than one key in a database?
Is primary key clustered index?
what is a cursor? : Sql dba
Explain the rollback statement?
What is sql clause?
Can we rollback truncate?
What is sql*loader and what is it used for?