General SQL Parser and SQL Pretty Printer Formatter options

Index

Remove redundant brackets in expression.

gFmtOpt.expr_remove_redundant_brackets Type: Boolean Default: false

Example format options:

NameValue
gFmtOpt.expr_remove_redundant_bracketsfalse

Formatted SQL:

SELECT *
FROM   syspar
WHERE
  ((( (( a = b ))
      AND ( c = d ) ))) 

Example format options:

NameValue
gFmtOpt.expr_remove_redundant_bracketstrue

Formatted SQL:

SELECT *
FROM   syspar
WHERE
  ( ( a = b )
    AND ( c = d ) )