SQL Formatter Options
Options
Conditions
The Conditions Options in the SQL Formatter Tool allow you to configure how conditions in SQL statements are formatted. These settings control the placement of line breaks, indentation, and logical operator alignment, improving the readability and structure of SQL queries.
Brackets
Before „(“ / After „(„
- Before „(„: Adds a line break before the opening parenthesis in conditions.
- After „(„: Adds a line break after the opening parenthesis.
Before „)“ / After „)“
- Before „)“: Adds a line break before the closing parenthesis in conditions.
- After „)“: Adds a line break after the closing parenthesis.
Indent Condition
- Indents the conditions within brackets for better alignment and readability.
JOIN
Before AND/OR / After AND/OR
- Before AND/OR: Adds a line break before logical operators like
AND
orOR
inJOIN
conditions. - After AND/OR: Adds a line break after these logical operators.
- Before AND/OR: Adds a line break before logical operators like
Indent AND/OR
- Indents logical operators (
AND
/OR
) inJOIN
conditions to align them with the structure of the query.
- Indents logical operators (
WHERE
Before AND/OR / After AND/OR
- Before AND/OR: Adds a line break before logical operators in the
WHERE
clause. - After AND/OR: Adds a line break after these operators for better clarity.
- Before AND/OR: Adds a line break before logical operators in the
Indent AND/OR
- Indents logical operators (
AND
/OR
) in theWHERE
clause for improved visual hierarchy.
- Indents logical operators (