What is the difference between anonymous block and named
block or stored procedure?

Answer Posted / raji_4u

1. Anonymous blocks are compiled each time they are executed,
where as stored subprograms compile only one time when they
are created.

2. Anonymous blocks are not stored in the database so they
can not be called from other blocks, where as stored
subprograms are stored in the database they can be called
from other blocks many times.

Is This Answer Correct ?    25 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you pass hints to the sql processor?

622


what are the advantages and disadvantages of views in a database? : Sql dba

636


How do I create an index in word?

626


What is the difference between sum and count in sql?

610


what is the difference between blob and text? : Sql dba

622






how to select first 5 records from a table? : Sql dba

595


explain the difference between myisam static and myisam dynamic. : Sql dba

606


What is the best sql course?

616


What is the difference between nvl function, ifnull function, and isnull function?

688


Which tcp/ip port does sql server run on? How can it be changed? : Sql dba

578


What is sql architecture?

655


How do I find sql profiler?

599


Explain what is a database?

731


What is sequence in sql?

609


What is localdb mssqllocaldb?

707