What Free SQL Formatting Tools exist? [closed]

2019-01-21 21:11发布

I want to beautify the SQL Queries I write.

What free tools exist that allow for SQL query formatting?

6条回答
可以哭但决不认输i
2楼-- · 2019-01-21 21:50

There is a free online Instant SQL Formatter. The site also sells some other versions (add-in for Visual Studio, for example), but the online version is free.

查看更多
Juvenile、少年°
3楼-- · 2019-01-21 22:00

PoorMansTSqlFormatter is a free and open-source online beautifier, with offline SSMS Add-In, command-line beautifier tool, and Notepad++ plugin.

The project aims to format any T-SQL (2000 or later) script, no matter the length or complexity.

Hope this helps!

查看更多
▲ chillily
4楼-- · 2019-01-21 22:06

T-SQL Tidy is a very good online SQL formatter/beautifier.

It has a lot of formatting options. Though it's targeted to T-SQL, it should work with most SQL dialects.

查看更多
我只想做你的唯一
5楼-- · 2019-01-21 22:09

I've always been a fan of navicat - http://www.navicat.com

Their lite version is free, but it still comes with the sql beautifier - http://www.navicat.com/en/products/navicat_premium/premium_feature.html

As an added bonus occasionally you'll find some chinglish hiding in odd places.

查看更多
祖国的老花朵
6楼-- · 2019-01-21 22:11

Sequel Pro If using OS X otherwise just work out what you need then develop your query using your knowledge and use the command line tool(my personal favourite:)).

查看更多
成全新的幸福
7楼-- · 2019-01-21 22:13

red Jul 22 '10 at 15:13 @Christopherous 5000

I was looking for the same in notepad++ and found a link that gives an idea of how to create your own formatting with macros: http://peoplesoft.wikidot.com/formatting-sql-in-notepad. Seems like it would work, but I'm going to use one of the SSMS Add-ins above. (Less work) Thanks!

查看更多
登录 后发表回答