|Oracle® Database PL/SQL Language Reference
11g Release 2 (11.2)
Part Number E17126-03
A constant holds a value that does not change.
A constant declaration specifies the name, data type, and value of the constant and allocates storage for it. The declaration can also impose the
The name of the constant that you are declaring.
The name of a datatype for which a variable can be declared with an initial value.
NULL constraint on the constant. For information about this constraint, see "NOT NULL Constraint".
The initial value for the constant. The value of
expression must have a data type that is compatible with
constant_declaration is elaborated, the value of
expression is assigned to
In this chapter:
In other chapters: