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 are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba
what are the security recommendations while using mysql? : Sql dba
what is a scheduled jobs or what is a scheduled tasks? : Sql dba
what are local and global variables and their differences? : Sql dba
How to use sql*plus built-in timers?
What are the benefits of pl/sql packages?
Can a key be both primary and foreign?
how can we take a backup of a mysql table and how can we restore it. ? : Sql dba
What are analytic functions in sql?
what is an extent ? : Sql dba
Explain some predefined exceptions.
What are different types of indexes?
Does sql view stored data?
How can a function retun more than one value in oracle with proper example?
how to decrement dates by 1 in mysql? : Sql dba