r/SQL • • Jun 26 '26

SQL Server SQL Indentation

I am working on MS SQL. I have got few scripts of 1000+ line with poor indentaion.

Any tool which i cna use to properly format it.
Please suggest

26 Upvotes

44 comments sorted by

View all comments

Show parent comment

8

u/angryapathetic Jun 26 '26

If the SQL is a long script and you're bashing out thousands of tokens through AI just to get an indent, you're doing AI wrong