title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | helpviewer_keywords | dev_langs | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Control-of-Flow |
Control-of-Flow |
rwestMSFT |
randolphwest |
03/16/2017 |
sql |
t-sql |
reference |
|
|
[!INCLUDE SQL Server Azure SQL Managed Instance]
The [!INCLUDEtsql] control-of-flow language keywords are:
:::row:::
:::column:::
BEGIN...END
:::column-end:::
:::column:::
RETURN
:::column-end:::
:::row-end:::
:::row:::
:::column:::
BREAK
:::column-end:::
:::column:::
THROW
:::column-end:::
:::row-end:::
:::row:::
:::column:::
CONTINUE
:::column-end:::
:::column:::
TRY...CATCH
:::column-end:::
:::row-end:::
:::row:::
:::column:::
GOTO label
:::column-end:::
:::column:::
WAITFOR
:::column-end:::
:::row-end:::
:::row:::
:::column:::
IF...ELSE
:::column-end:::
:::column:::
WHILE
:::column-end:::
:::row-end:::
CASE (Transact-SQL)
Slash Star (Block Comment) (Transact-SQL)
-- (Comment) (Transact-SQL)
DECLARE @local_variable (Transact-SQL)
EXECUTE (Transact-SQL)
PRINT (Transact-SQL)
RAISERROR (Transact-SQL)