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

4.4.3.1.
CREATE DATABASE
4.4.3.2.
CREATE DOMAIN
4.4.3.3.
CREATE FUNCTION (new)
4.4.3.3.1.
Scalar functions (new)
4.4.3.3.2.
CREATE OR REPLACE FUNCTION (new)
4.4.3.3.3.
SQL data access characteristics (new)
4.4.3.3.4.
DETERMINISTIC characteristic (new)
4.4.3.3.5.
ON NULL INPUT characteristic (new)
4.4.3.4.
CREATE INDEX
4.4.3.5.
CREATE PROCEDURE (new)
4.4.3.5.1.
CREATE OR REPLACE PROCEDURE (new)
4.4.3.5.2.
SQL data access characteristics (new)
4.4.3.6.
CREATE SCHEMA
4.4.3.7.
CREATE SEQUENCE
4.4.3.7.1.
CREATE SEQUENCE IF NOT EXISTS
4.4.3.7.2.
CREATE SEQUENCE .. CACHE
4.4.3.7.3.
CREATE SEQUENCE .. CYCLE
4.4.3.7.4.
CREATE SEQUENCE .. MINVALUE
4.4.3.7.5.
CREATE SEQUENCE .. MAXVALUE
4.4.3.7.6.
CREATE SEQUENCE .. INCREMENT BY
4.4.3.7.7.
CREATE SEQUENCE .. START WITH
4.4.3.8.
CREATE TABLE
4.4.3.8.1.
Columns
4.4.3.8.2.
Nullability
4.4.3.8.3.
Defaults
4.4.3.8.4.
Identities
4.4.3.8.5.
Primary key
4.4.3.8.6.
Unique constraints
4.4.3.8.7.
Foreign keys
4.4.3.8.8.
Check constraints
4.4.3.8.9.
From a SELECT
4.4.3.8.10.
Temporary tables
4.4.3.9.
CREATE TRIGGER (new)
4.4.3.9.1.
Events (new)
4.4.3.9.2.
REFERENCING clause (new)
4.4.3.9.3.
STATEMENT vs ROW triggers (new)
4.4.3.9.4.
WHEN clause (new)
4.4.3.10.
CREATE TYPE
4.4.3.11.
CREATE VIEW
4.4.3.11.1.
OR REPLACE
4.4.3.11.2.
WITH CHECK OPTION
4.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