Previous Topic: Decimal LiteralsNext Topic: Qualified Column Names


Column Names

A column-name designates a column of a table or view. The name can be unqualified or qualified.

If you specify SQLMODE=ANSI or SQLMODE=FIPS in the SQL Preprocessor options, the unqualified form of a column name is a long identifier, 1 to 18 characters.

If you specify SQLMODE=DATACOM for extended mode in the SQL Preprocessor options, the unqualified form of a column name can be 1 to 32 characters.

The column-name must be alphanumeric and the first character must be alphabetic. The name can contain underscores ( _ ), but not hyphens ( - ).

Do not use a keyword as the name of a column.

The meaning of a column-name depends on its context. A column-name can be used to: