Book Contents

Book Index

Next Topic

Home

column-definition

A column definition specifies the name, data type, and constraints to be applied to a column.

Syntax

column-name data-type [ column-constraint [ ... ] ]

Semantics

 

column-name

specifies the name of a column to be created or added.

data-type

specifies one of the following data types:

BOOLEAN

CHARACTER (CHAR)

CHARACTER VARYING (VARCHAR)

Date/Time Types

DOUBLE PRECISION (FLOAT)

INTEGER (BIGINT)

column-constraint

specifies a column constraint to apply to the column.