Skip to content

Latest commit

 

History

History
71 lines (66 loc) · 2.48 KB

control-of-flow.md

File metadata and controls

71 lines (66 loc) · 2.48 KB
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
keywords [SQL Server], control-of-flow language
control-of-flow language [SQL Server], keywords listed
TSQL

Control-of-Flow

[!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:::

See Also

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)