Explain what Is A One-time-only Procedure And How Is It Declared Within A Package?

Category: QuestionsExplain what Is A One-time-only Procedure And How Is It Declared Within A Package?
Editor">Editor Staff asked 2 years ago

Explain what Is A One-time-only Procedure And How Is It Declared Within A Package?

1 Answers
Editor">Editor Staff answered 2 years ago

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.