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

This documentation is for the unreleased development version of jOOQ. Click on the above version links to get this documentation for a supported version of jOOQ.

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.6.3.1.
CREATE DATABASE
3.6.3.2.
CREATE DOMAIN
3.6.3.3.
CREATE FUNCTION
3.6.3.3.1.
Scalar functions
3.6.3.3.2.
CREATE OR REPLACE FUNCTION
3.6.3.3.3.
SQL data access characteristics
3.6.3.3.4.
DETERMINISTIC characteristic
3.6.3.3.5.
ON NULL INPUT characteristic
3.6.3.4.
CREATE INDEX
3.6.3.5.
CREATE PROCEDURE
3.6.3.5.1.
CREATE OR REPLACE PROCEDURE
3.6.3.5.2.
SQL data access characteristics
3.6.3.6.
CREATE SCHEMA
3.6.3.7.
CREATE SEQUENCE
3.6.3.7.1.
CREATE SEQUENCE IF NOT EXISTS
3.6.3.7.2.
CREATE SEQUENCE .. AS (new)
3.6.3.7.3.
CREATE SEQUENCE .. CACHE
3.6.3.7.4.
CREATE SEQUENCE .. CYCLE
3.6.3.7.5.
CREATE SEQUENCE .. MINVALUE
3.6.3.7.6.
CREATE SEQUENCE .. MAXVALUE
3.6.3.7.7.
CREATE SEQUENCE .. INCREMENT BY
3.6.3.7.8.
CREATE SEQUENCE .. START WITH
3.6.3.8.
CREATE SYNONYM (new)
3.6.3.8.1.
CREATE OR REPLACE SYNONYM (new)
3.6.3.9.
CREATE TABLE
3.6.3.9.1.
Columns
3.6.3.9.2.
Nullability
3.6.3.9.3.
Defaults
3.6.3.9.4.
Identities
3.6.3.9.5.
Computed columns
3.6.3.9.6.
Primary key
3.6.3.9.7.
Unique constraints
3.6.3.9.8.
Foreign keys
3.6.3.9.9.
Check constraints
3.6.3.9.10.
From a SELECT
3.6.3.9.11.
Temporary tables
3.6.3.10.
CREATE TRIGGER
3.6.3.10.1.
Events
3.6.3.10.2.
REFERENCING clause
3.6.3.10.3.
STATEMENT vs ROW triggers
3.6.3.10.4.
WHEN clause
3.6.3.11.
CREATE TYPE .. AS ENUM
3.6.3.12.
CREATE TYPE .. AS OBJECT
3.6.3.13.
CREATE VIEW
3.6.3.13.1.
CREATE OR REPLACE VIEW
3.6.3.13.2.
WITH CHECK OPTION
3.6.3.13.3.
WITH READ ONLY
3.6.3.13.4.
MATERIALIZED

previous : next

References to this page

Feedback

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

The jOOQ Logo