Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Data definition language

DDL changes schemas and catalog objects. Every implemented command has a dedicated reference page, including CREATE and DROP for schemas, tables, views, indexes, users, groups, collections, queues, and memory tables.

See COMMENT ON for table and column metadata.

See CREATE PROCEDURE for persisted procedures and CALL.

DDL is validated by the parser, binder, and catalog before execution. Use explicit names and inspect sys.catalog_objects after migrations to confirm the resulting object kind and engine.

See Partitioning for the planned native partitioning model and the distinction between logical partition triggers and ordinary table inheritance.