4 ms·
Is there indent for SQL?
by maurycy 10y ago
Is there indent for SQL?
- ManlyBread 10y agoPoor Man's SQL Formatter for Notepad++ can do it, it leaves a lot to be desired though in terms of customization. It has saved me a lot of times, since I'd rather read Poor Man's code than the code of the other people.
- gregn610 10y agoAnother vote for Poor Man's. But I think it's an important caveat that the whole team use the same formatter and the same settings. Otherwise diff's turn to useless noise* because Cubicle Bob has personalized his settings. *Yes, I've tried the Winmerge plugin. It's helpful but not ideal.
- mianos 10y agoI am using Jetbrains Datagrip to write SQL all day, every day. It can auto-format SQL just like all their other tools can auto-format the language in use. It also has a bunch of other handy stuff like symbol completion from the current database.
- timlin 10y agoFor Microsoft's SQL Server Management Studio, try SSMS Boost (http://www.ssmsboost.com/ http://www.ssmsboost.com/). There is a free community edition.] They just released a beta for SSMS 2016 that has a lot more flexible SQL formatting features. See http://www.ssmsboost.com/social/posts/m12279-SSMSBoost-v3-0-Beta--2008-2012-2014-2016 http://www.ssmsboost.com/social/posts/m12279-SSMSBoost-v3-0-....