DEVFYI - Developer Resource - FYI

Is there a limit on the size of a PL/SQL block?

ORACLE Interview Questions and Answers (Part 5)


(Continued from previous question...)

96.Is there a limit on the size of a PL/SQL block?

Currently, the maximum parsed/compiled size of a PL/SQL block is 64K and the maximum code size is 100K. You can run the following select statement to query the size of an existing package or procedure.
SQL> select * from dba_object_size where name = 'procedure_name'

(Continued on next question...)

Other Interview Questions