Oracle PL/SQL - Preprocessor Control Tokens

Introduction

A preprocessor control token identifies code that is processed before the PL/SQL code is compiled.

Syntax for Preprocessor Control Tokens

$plsql_identifier 

There cannot be space between $ and plsql_identifier.

The character $ can appear inside plsql_identifier, but it has no special meaning there.

The following preprocessor control tokens are reserved:

  • $IF
  • $THEN
  • $ELSE
  • $ELSIF
  • $ERROR

Related Topics