DDL: CREATE
83 reference entries
- CREATE AGGREGATE
defines a CLR user-defined aggregate
- CREATE APPLICATION ROLE
defines a application role
- CREATE ASSEMBLY
defines assembly (no row flow)
- CREATE ASYMMETRIC KEY
defines a asymmetric key
- CREATE AVAILABILITY GROUP
defines availability group (no row flow)
- CREATE BROKER PRIORITY
defines broker priority (no row flow)
- CREATE CERTIFICATE
defines a certificate
- CREATE COLUMN ENCRYPTION KEY
defines a column encryption key
- CREATE COLUMN MASTER KEY
defines a column master key
- CREATE COLUMNSTORE INDEX
defines an index; CREATE/ALTER REBUILD sorts and writes all rows of the key
- CREATE CONTRACT
defines contract (no row flow)
- CREATE CREDENTIAL
defines a credential
- CREATE CRYPTOGRAPHIC PROVIDER
defines a cryptographic provider
- CREATE DATABASE
defines database (no row flow)
- CREATE DATABASE AUDIT SPECIFICATION
defines a database audit specification
- CREATE DATABASE ENCRYPTION KEY
defines a database encryption key
- CREATE DATABASE SCOPED CREDENTIAL
defines a database scoped credential
- CREATE DEFAULT
defines a legacy bound object
- CREATE ENDPOINT
defines endpoint (no row flow)
- CREATE EVENT NOTIFICATION
defines event notification (no row flow)
- CREATE EVENT SESSION
defines event session (no row flow)
- CREATE EXTERNAL DATA SOURCE
defines an external access definition
- CREATE EXTERNAL DATA SOURCE CONNECTION_OPTIONS
none (documentation, rules or examples)
- CREATE EXTERNAL FILE FORMAT
defines an external access definition
- CREATE EXTERNAL LANGUAGE
defines external language (no row flow)
- CREATE EXTERNAL LIBRARY
defines external library (no row flow)
- CREATE EXTERNAL MODEL
defines an external model used by AI_GENERATE_EMBEDDINGS
- CREATE EXTERNAL RESOURCE POOL
defines external resource pool (no row flow)
- CREATE EXTERNAL TABLE
defines an external table
- CREATE EXTERNAL TABLE AS SELECT
CREATE EXTERNAL TABLE AS SELECT: exports query results to storage
- CREATE FULLTEXT CATALOG
defines fulltext catalog (no row flow)
- CREATE FULLTEXT INDEX
defines an index; CREATE/ALTER REBUILD sorts and writes all rows of the key
- CREATE FULLTEXT STOPLIST
defines fulltext stoplist (no row flow)
- CREATE FUNCTION
defines a scalar, inline table-valued, or multi-statement table-valued function
- CREATE INDEX
defines an index; CREATE/ALTER REBUILD sorts and writes all rows of the key
- CREATE JSON INDEX
defines an index; CREATE/ALTER REBUILD sorts and writes all rows of the key
- CREATE LOGIN
defines a login
- CREATE MASTER KEY
defines a master key
- CREATE MESSAGE TYPE
defines message type (no row flow)
- CREATE PARTITION FUNCTION
defines partitioning metadata
- CREATE PARTITION SCHEME
defines partitioning metadata
- CREATE PROCEDURE
defines a stored procedure (CREATE OR ALTER supported)
- CREATE QUEUE
defines queue (no row flow)
- CREATE REMOTE SERVICE BINDING
defines remote service binding (no row flow)
- CREATE RESOURCE POOL
defines resource pool (no row flow)
- CREATE ROLE
defines a role
- CREATE ROUTE
defines route (no row flow)
- CREATE RULE
defines a legacy bound object
- CREATE SCHEMA
defines schema (no row flow)
- CREATE SEARCH PROPERTY LIST
defines search property list (no row flow)
- CREATE SECURITY POLICY
defines a security policy: FILTER predicates silently filter reads; BLOCK predicates reject writes
- CREATE SELECTIVE XML INDEX
defines an index; CREATE/ALTER REBUILD sorts and writes all rows of the key
- CREATE SEQUENCE
defines a sequence
- CREATE SERVER AUDIT
defines a server audit
- CREATE SERVER AUDIT SPECIFICATION
defines a server audit specification
- CREATE SERVER ROLE
defines a server role
- CREATE SERVICE
defines service (no row flow)
- CREATE SPATIAL INDEX
defines an index; CREATE/ALTER REBUILD sorts and writes all rows of the key
- CREATE STATISTICS
defines statistics
- CREATE SYMMETRIC KEY
defines a symmetric key
- CREATE SYNONYM
defines a synonym
- CREATE TABLE
defines columns, types, constraints, defaults, identity, computed columns, period, system-versioning, ledger
- CREATE TABLE ... computed column
defines a derived column (virtual or PERSISTED)
- CREATE TABLE ... ENCRYPTED WITH (Always Encrypted)
values are encrypted by the client driver; the server sees ciphertext
- CREATE TABLE ... GENERATED ALWAYS AS
system-generated period or ledger column
- CREATE TABLE ... IDENTITY
engine-generated increasing values on INSERT
- CREATE TABLE ... LEDGER (APPEND_ONLY = ON)
blocks UPDATE and DELETE
- CREATE TABLE ... MASKED WITH
masks values for users without UNMASK
- CREATE TABLE ... PERIOD FOR SYSTEM_TIME
declares the system-time period of a temporal table
- CREATE TABLE ... WITH (LEDGER = ON)
makes the table tamper-evident with generated ledger columns
- CREATE TABLE ... WITH (MEMORY_OPTIMIZED = ON)
in-memory OLTP storage
- CREATE TABLE ... WITH (SYSTEM_VERSIONING = ON)
turns on system-versioning: every UPDATE/DELETE copies the old row version to history
- CREATE TABLE (SQL Graph)
defines a graph node/edge table (adds $node_id or $edge_id/$from_id/$to_id)
- CREATE TABLE IDENTITY (Property)
defines a column, constraint or column property
- CREATE TRIGGER
defines a DML (AFTER/INSTEAD OF), DDL or logon trigger
- CREATE TYPE
defines a user-defined type
- CREATE USER
defines a user
- CREATE VECTOR INDEX
defines an index; CREATE/ALTER REBUILD sorts and writes all rows of the key
- CREATE VIEW
defines a view (optionally SCHEMABINDING, indexed when it has a unique clustered index)
- CREATE WORKLOAD GROUP
defines workload group (no row flow)
- CREATE XML INDEX
defines an index; CREATE/ALTER REBUILD sorts and writes all rows of the key
- CREATE XML INDEX (Selective XML Indexes)
defines an index; CREATE/ALTER REBUILD sorts and writes all rows of the key
- CREATE XML SCHEMA COLLECTION
defines xml schema collection (no row flow)