Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Alternatively, write a mess of SQL like a three year old child that just discovered MSPaint then push the "beautifier" button and knock off for an early lunch.


Where am I supposed to park my bike if the shed is gone?!

Closer to more seriously: which "beautifier" button is best? Is there a free one that is close to industry standard?


SQLFluff is a linter formatter written in Python https://sqlfluff.com/

Heard there is a faster one called sqruff, but I have not tried it

https://www.quary.dev/blog/sqruff-launch

Might also be able to cajole sqlglot into being a formatter but it's designed for forgiving dialect conversion, not formatting

https://github.com/tobymao/sqlglot


I can't really answer that i'm afraid, my chosen IDE (PL/SQL Dev) comes with one as standard.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: