🏗️ DDL

CREATE, ALTER, DROP and friends: object definitions and schema changes.

Snippet
☆CREATE TABLE — Create a heap table
☆ALTER ADD COLUMN — Add a column to an existing table
☆MODIFY COLUMN — Change a column datatype
☆RENAME COLUMN — Rename a column
☆DROP TABLE — Drop a table (recycle bin permitting)
☆CREATE SEQUENCE — Sequence for surrogate keys
☆CREATE SYNONYM — Alias an object owned by another schema
☆TRUNCATE TABLE — Fast delete of all rows (DDL, no rollback)
☆COMMENT ON COLUMN — Document a column in the dictionary

← Back to all categories