Previous Page | Next Page

The SQL Procedure

column-definition


Defines PROC SQL's data types and dates.
See also: column-modifier
Featured in: Creating a Table and Inserting Data into It

column data-type <column-modifier <... column-modifier>>


Arguments

column

is a column name.

column-modifier

is described in column-modifier.

data-type

is one of the following data types:

CHARACTER|VARCHAR <(width)>

indicates a character column with a column width of width. The default column width is eight characters.

INTEGER|SMALLINT

indicates an integer column.

DECIMAL|NUMERIC|FLOAT <(width<, ndec>)>

indicates a floating-point column with a column width of width and ndec decimal places.

REAL|DOUBLE PRECISION

indicates a floating-point column.

DATE

indicates a date column.


Details

Previous Page | Next Page | Top of Page