SQL Formatter Tool
One of the things that drives me crazy is having to format my SQL statements. It is hard enough writing the statements in the first place, but then having to take the time to format the code, make keywords uppercase, using tabs to align column names, tables names etc... is just a lot of work. But it is one of those things that if you don't do it now it never happens except for the next time that you edit that code and spend a bunch of time formatting it anyway.
Well one option is to do the formatting as you write your SQL code. This makes the most sense, but often times you get code from other places or when you copy and paste the code everything is misaligned.
Here is a free online formatter tool that allows you to just paste in your SQL statements and it will format the statement automatically based on some of the options you select. Overall it is an extremely simple process, but a tool that you will use over and over again.
Here is the URL. Also check out other options in the comments below.
Below is a simple screen reproduction of what the tool looks like.
- Don't waste time formatting your code go check out this tool to see how helpful it really is
- Whenever you write SQL code use this simple tool to reformat the code for you
- Bookmark the above URL and add it to your toolbox
About the author
This author pledges the content of this article is based on professional experience and not AI generated.
View all my tips