In my current project I’ve been inherited with lots of long (1200+ lines) SQL Server stored procedures with some horrible indentation and formatting which makes them almost unreadable. Is there some tool that I can use to automatically format these and make them more readable? I don’t want to go through it manually and indent it.
Share
Here’s a couple — no idea how well they work, unfortunately…
http://www.wangz.net/gsqlparser/sqlpp/sqlformat.htm (free)
http://www.sqlinform.com/ (free for personal use)