| title | Control-of-Flow | Microsoft Docs | ||
|---|---|---|---|
| ms.custom | |||
| ms.date | 03/16/2017 | ||
| ms.prod | sql-non-specified | ||
| ms.reviewer | |||
| ms.suite | |||
| ms.technology |
|
||
| ms.tgt_pltfrm | |||
| ms.topic | language-reference | ||
| dev_langs |
|
||
| helpviewer_keywords |
|
||
| ms.assetid | 1115a779-484a-4f32-bcd2-d8f0675945b7 | ||
| caps.latest.revision | 21 | ||
| author | BYHAM | ||
| ms.author | rickbyh | ||
| manager | jhubbard |
[!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 Comment (Transact-SQL)
-- (Comment) (Transact-SQL)
DECLARE @local_variable (Transact-SQL)
EXECUTE (Transact-SQL)
PRINT (Transact-SQL)
RAISERROR (Transact-SQL)