Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit
Twitter LinkedIn Facebook Email

Language Elements (Transact-SQL)

  • Article
  • 02/28/2023

In this article

Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics Analytics Platform System (PDW)

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)


Additional resources

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023

Additional resources

In this article

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023