| title | Control-of-Flow | Microsoft Docs | ||
|---|---|---|---|
| ms.custom | |||
| ms.date | 03/16/2017 | ||
| ms.prod | sql | ||
| ms.prod_service | sql-database | ||
| ms.reviewer | |||
| ms.technology | t-sql | ||
| ms.topic | language-reference | ||
| dev_langs |
|
||
| helpviewer_keywords |
|
||
| ms.assetid | 1115a779-484a-4f32-bcd2-d8f0675945b7 | ||
| author | rothja | ||
| ms.author | jroth |
[!INCLUDEtsql-appliesto-ss2012-xxxx-xxxx-xxx-md]
The [!INCLUDEtsql] control-of-flow language keywords are:
| BEGIN...END | RETURN |
| BREAK | THROW |
| CONTINUE | TRY...CATCH |
| GOTO label | WAITFOR |
| IF...ELSE | WHILE |
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)