Use the Column Definition segment of CREATE Temporary TABLE to list the name, data type, default value, and constraints of a single column.
Column Definition: (1) |--column--| Data Type |-------+-------------------------+------> | (2) | '-| DEFAULT Clause |------' >--+------------------------------------------+-----------------| | (3) | '-| Single-Column Constraint Format |------'
Element | Description | Restrictions | Syntax |
---|---|---|---|
column | Name declared here for a column in the table | Must be unique in its table | Identifier, p. Identifier |
This portion of the CREATE Temporary TABLE statement is almost identical to the corresponding section in the CREATE TABLE statement. The difference is that fewer types of constraints are allowed in a temporary table.
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]