General SQL Parser and SQL Pretty Printer Formatter options

Index

Available format options for declare statement:

gFmtOpt.LinebreakAfterDeclare Type: boolean Default: false

Example format options:

NameValue
gFmtOpt.LinebreakAfterDeclarefalse

Formatted SQL:

DECLARE @s  VARCHAR(1000),
        @s2 VARCHAR(10) 


Example format options:

NameValue
gFmtOpt.LinebreakAfterDeclaretrue
gFmtOpt.IndentLen2

Formatted SQL:

DECLARE 
  @s  VARCHAR(1000),
  @s2 VARCHAR(10)