SQL Formatter Options
Options
Ins / Upd / Del
The INSERT / UPDATE / DELETE options in the SQL Formatter Tool allow you to configure how these key SQL operations are formatted. By setting specific preferences, you can ensure your scripts are more readable and consistent.
INSERT
Columns per Line
- Specifies how many columns to display on each line in the
INSERTstatement. - Example: Setting
1will display one column per line for better clarity.
- Specifies how many columns to display on each line in the
Before Comma / After Comma
- Before Comma: Adds a line break before commas in the
INSERTstatement. - After Comma: Adds a line break after commas in the
INSERTstatement.
- Before Comma: Adds a line break before commas in the
Indent Columns and Values
- Aligns and indents column names and corresponding values in the
INSERTstatement for better readability.
- Aligns and indents column names and corresponding values in the
Before „(“ / After „(„
- Before „(„: Adds a line break before opening parentheses in the
INSERTstatement. - After „(„: Adds a line break after opening parentheses.
- Before „(„: Adds a line break before opening parentheses in the
Before „)“ / After „)“
- Before „)“: Adds a line break before closing parentheses.
- After „)“: Adds a line break after closing parentheses.
UPDATE
After UPDATE
- Adds a line break immediately after the
UPDATEkeyword.
- Adds a line break immediately after the
Before SET / After SET
- Before SET: Adds a line break before the
SETkeyword. - After SET: Adds a line break after the
SETkeyword.
- Before SET: Adds a line break before the
Before Comma / After Comma
- Before Comma: Adds a line break before commas in
SETclauses. - After Comma: Adds a line break after commas in
SETclauses.
- Before Comma: Adds a line break before commas in
DELETE
- After DELETE
- Adds a line break immediately after the
DELETEkeyword for better structure.
- Adds a line break immediately after the