INLINE Pragma

The INLINE pragma specifies whether a subprogram invocation is to be inlined. Inlining replaces a subprogram invocation with a copy of the invoked subprogram (if the invoked and invoking subprograms are in the same program unit).

Note:

The INLINE pragma affects only the immediately following declaration or statement, and only some kinds of statements. For details, see "Subprogram Inlining".

Topics

Semantics

subprogram

Name of a subprogram. If subprogram is overloaded, then the INLINE pragma applies to every subprogram with that name.

YES

If PLSQL_OPTIMIZE_LEVEL=2, 'YES' specifies that the subprogram invocation is to be inlined.

If PLSQL_OPTIMIZE_LEVEL=3, 'YES' specifies that the subprogram invocation has a high priority for inlining.

NO

Specifies that the subprogram invocation is not to be inlined.

Related Topics