Available in versions: Dev (3.20) | Latest (3.19) | 3.18 | 3.17 | 3.16 | 3.15 | 3.14 | 3.13 | 3.12 | 3.11 | 3.10
CREATE TABLE
Applies to ✅ Open Source Edition ✅ Express Edition ✅ Professional Edition ✅ Enterprise Edition
Arguably the most used DDL statement is the CREATE TABLE
statement.
The following subsections discuss various usages of CREATE TABLE
, as well as the relevant bits of meta data that can be added to a table.
Table of contents
- 3.6.3.8.1.
- Columns
- 3.6.3.8.2.
- Nullability
- 3.6.3.8.3.
- Defaults
- 3.6.3.8.4.
- Identities
- 3.6.3.8.5.
- Computed columns (new)
- 3.6.3.8.6.
- Primary key
- 3.6.3.8.7.
- Unique constraints
- 3.6.3.8.8.
- Foreign keys
- 3.6.3.8.9.
- Check constraints
- 3.6.3.8.10.
- From a SELECT
- 3.6.3.8.11.
- Temporary tables
previous : next |
References to this page
Feedback
Do you have any feedback about this page? We'd love to hear it!