Language Elements (Transact-SQL)

Applies to: yesSQL Server (all supported versions) YesAzure SQL Database YesAzure SQL Managed Instance yesAzure Synapse Analytics yesParallel Data Warehouse

SQL Server supports the following language elements.

In This Section

-- (Comment) (Transact-SQL)

Slash Star (Block Comment) (Transact-SQL)

CREATE DIAGNOSTICS SESSION (Transact-SQL)

NULL and UNKNOWN (Transact-SQL)

Transactions (Azure Synapse Analytics)

USE (Transact-SQL)