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

What has stored procedures in sql?

589


What is the maximum database size for sql express?

522


What is the example of procedure?

506


what is top in tsql? : Transact sql

533


What are the sql versions?

510






tell me about various levels of constraint. : Sql dba

526


What is clustered index sql?

495


how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba

536


What is the non-clustered index in sql?

582


Are ddl triggers fired for ddl statements within a pl/sql code executed using the dbms.sql package?

607


What are procedures used for?

518


What is dml statement?

509


How do I send sql query results to excel?

568


How do you rename a table in sql?

522


Explain the rollback statement?

570