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 cascade in sql?
What is set serveroutput on in pl sql?
How do you clear the screen in sql?
how to use myisamchk to check or repair myisam tables? : Sql dba
Explain how you can copy a file to file content and file to pl/sql table in advance pl/sql?
Is sqlite thread safe?
What is difference between stored function and application function?
what is unique key constraint? : Sql dba
What is using in sql?
How do you delete duplicates in sql query using rowid?
How do you write a complex sql query?
how can we know the number of days between two given dates using mysql? : Sql dba
What is an intersect?
Does sqlite need a server?
What are sql objects?