SQL TAB Formatter
Indentation-only SQL formatter — one TAB state is passed line-by-line.
Formatter Settings
INPUT SQL
FORMATTED SQL
Formatting sequence:
- Normalize unnecessary multiple spaces.
- Read SQL statements using ; as the statement separator.
- Read one complete line at a time.
- REMOVE TAB is applied before writing the current line.
- The current line is written with exactly the current TAB count.
- ADD TAB is applied only after the complete line is written.
- The resulting TAB count becomes the starting TAB count of the next line.
- Keep the original SQL words and characters unchanged as much as possible.
Ready