This repository has been archived by the owner on Jan 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
SQL Dialect
Antonello Provenzano edited this page Mar 20, 2016
·
3 revisions
CREATE SCHEMA <schema_name>
CREATE TABLE [IF NOT EXISTS] <table_name> ( [ <column_def | constraint_def> ]+ )
column_def
::= <column_name> <column_type> [ <column_constraint> ]* [ DEFAULT <expression> ]
column_type
::= [SQL Type](SQL Types)
column_constraint
::= NOT NULL | PRIMARY [KEY] | UNIQUE [KEY] | CHECK <expression> | IDENTITY
constraint_def
::= <constraint_name> [ PRIMARY KEY ( [ <column_name> ]+ ) |
NOTE: If a column defines the IDENTITY
constraint, specifying other constraints or a DEFAULT expression will result into an error
- Getting Started
- Basic Principles
- Operative Contexts
- Transactions
- Database Objects
- Data Types
- SQL Execution Plan
- SQL Model
- DeveelDB SQL Dialect
- Data Types
- Routines (Functions and Procedures)
- Collaborate
- Kernel Development
- External Contributions
- Bug Reporting
- Documentation