Skip Headers
Oracle® Database PL/SQL Language Reference
11g Release 2 (11.2)

Part Number E10472-05
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

Literal

A literal is value that is not represented by an identifier or an expression.

Topics:

Syntax

numeric_literal ::=

numeric_literal
Description of the illustration numeric_literal.gif

integer ::=

integer_literal
Description of the illustration integer.gif

real_number ::=

real_number_literal
Description of the illustration real_number.gif

character_literal ::=

character_literal
Description of the illustration character_literal.gif

string_literal ::=

string_literal
Description of the illustration string_literal.gif

boolean_literal ::=

boolean_literal
Description of the illustration boolean_literal.gif

Semantics

numeric_literal

d or D

Specifies that the numeric literal has the data type BINARY_DOUBLE.

f or F

Specifies that the numeric literal has the data type BINARY_FLOAT.

integer

digit

The character 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9.

real_number

e or E

Introduces the exponent.

character_literal and string_literal

character

A member of the PL/SQL character set. For information about the PL/SQL character set, see"Character Sets".

Examples

Related Topics

In this chapter:

In other chapters: