Named regions

Last modified: May 26, 2022

SQL Complete allows specifying a block of SQL code that can be expanded or collapsed using the SSMS query editor. Nested regions are also supported.

Syntax

--region name
--endregion comment

Parameters

name

Optional: The name of the region, displayed in the SSMS code editor.

comment

Optional: A comment for the region.

Example

Named regions