SQL Formatter Options
Options
DDL Create
The Create Table / Create Index Options in the SQL Formatter Tool allow you to format SQL CREATE
statements with better structure and readability. These settings control line breaks, indentation, and keyword alignment for table and index creation queries.
Linebreaks
Before „(“ / After „(„
- Before „(„: Adds a line break before the opening parenthesis in
CREATE
statements. - After „(„: Adds a line break after the opening parenthesis.
- Before „(„: Adds a line break before the opening parenthesis in
Before „)“ / After „)“
- Before „)“: Adds a line break before the closing parenthesis in
CREATE
statements. - After „)“: Adds a line break after the closing parenthesis.
- Before „)“: Adds a line break before the closing parenthesis in
Indentation
Indent Cols in Brackets
- Indents the column definitions inside parentheses for better alignment and readability in
CREATE TABLE
statements.
- Indents the column definitions inside parentheses for better alignment and readability in
Indent Bracket
- Adds indentation to the opening and closing parentheses, ensuring they align correctly with the rest of the SQL structure.
My CREATE Keywords Getting Linebreaks
- This section allows you to define specific
CREATE
keywords that should automatically receive line breaks in the formatted output.