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

The CREATE statement

Applies to ✅ Open Source Edition   ✅ Express Edition   ✅ Professional Edition   ✅ Enterprise Edition

The CREATE statement is the most important DDL statement. It allows for creating new objects in the database catalog.

Table of contents

3.4.3.1.
CREATE DATABASE
3.4.3.2.
CREATE DOMAIN
3.4.3.3.
CREATE FUNCTION (new)
3.4.3.3.1.
Scalar functions (new)
3.4.3.3.2.
CREATE OR REPLACE FUNCTION (new)
3.4.3.3.3.
SQL data access characteristics (new)
3.4.3.3.4.
DETERMINISTIC characteristic (new)
3.4.3.3.5.
ON NULL INPUT characteristic (new)
3.4.3.4.
CREATE INDEX
3.4.3.5.
CREATE PROCEDURE (new)
3.4.3.5.1.
CREATE OR REPLACE PROCEDURE (new)
3.4.3.5.2.
SQL data access characteristics (new)
3.4.3.6.
CREATE SCHEMA
3.4.3.7.
CREATE SEQUENCE
3.4.3.7.1.
CREATE SEQUENCE IF NOT EXISTS
3.4.3.7.2.
CREATE SEQUENCE .. CACHE
3.4.3.7.3.
CREATE SEQUENCE .. CYCLE
3.4.3.7.4.
CREATE SEQUENCE .. MINVALUE
3.4.3.7.5.
CREATE SEQUENCE .. MAXVALUE
3.4.3.7.6.
CREATE SEQUENCE .. INCREMENT BY
3.4.3.7.7.
CREATE SEQUENCE .. START WITH
3.4.3.8.
CREATE TABLE
3.4.3.8.1.
Columns
3.4.3.8.2.
Nullability
3.4.3.8.3.
Defaults
3.4.3.8.4.
Identities
3.4.3.8.5.
Primary key
3.4.3.8.6.
Unique constraints
3.4.3.8.7.
Foreign keys
3.4.3.8.8.
Check constraints
3.4.3.8.9.
From a SELECT
3.4.3.8.10.
Temporary tables
3.4.3.9.
CREATE TRIGGER (new)
3.4.3.9.1.
Events (new)
3.4.3.9.2.
REFERENCING clause (new)
3.4.3.9.3.
STATEMENT vs ROW triggers (new)
3.4.3.9.4.
WHEN clause (new)
3.4.3.10.
CREATE TYPE
3.4.3.11.
CREATE VIEW
3.4.3.11.1.
CREATE OR REPLACE VIEW
3.4.3.11.2.
WITH CHECK OPTION
3.4.3.11.3.
WITH READ ONLY

previous : next

References to this page

Feedback

Do you have any feedback about this page? We'd love to hear it!

The jOOQ Logo