InterviewSolution
| 1. |
What Is A One-time-only Procedure And How Is It Declared Within A Package? |
|
Answer» A One-TIME-Only procedure is executed only once, when the PACKAGE is called for the first time. While declaring a One-Time-Only procedure the keyword END is not used at the end of the one-time-only procedure; however, the procedure uses the package body's END clause, as the procedure's CODE is PLACED at the bottom of the package body. A One-Time-Only procedure is executed only once, when the package is called for the first time. While declaring a One-Time-Only procedure the keyword END is not used at the end of the one-time-only procedure; however, the procedure uses the package body's END clause, as the procedure's code is placed at the bottom of the package body. |
|