Not-null constraints are always copied to the new table.
- CHECK constraints will only be copied if
- INCLUDING CONSTRAINTS is specified; other types of
- constraints will never be copied. Also, no distinction is made between
- column constraints and table constraints — when constraints are
- requested, all check constraints are copied.
-
- Any indexes on the original table will not be created on the new
- table, unless the INCLUDING INDEXES clause is
- specified.
+ CHECK constraints will be copied only if
+ INCLUDING CONSTRAINTS is specified.
+ Indexes, PRIMARY KEY>, and UNIQUE> constraints
+ on the original table will be created on the new table only if the
+ INCLUDING INDEXES clause is specified.
+ No distinction is made between column constraints and table
+ constraints.
STORAGE> settings for the copied column definitions will only
be copied if INCLUDING STORAGE is specified. The