T-SQL Tidy.com: Awesome!!
Digging through Dynamics: GP stored procedures is painful, to say the least.
When you pull the SQL out of the database via SQL Server Management Studio it is one LONG line. No formatting, nothing. Reading the TSQL as one line isn't really an option. Reformatting it by hand takes FOREVER.
Fortunately, there is a wonderful online formatter over at TSQLTidy. It can transform the GP stored procedures into something that can actually be parsed by a human brain. TSQLTidy also has a web service. Theoretically this is a SOAP interface that will allow the creation of scripts/programs that can then use TSQLTidy for its formatting. I've been trying to get it to work via Python using ZSI. However, I have had no such luck yet. Eventually.

rss
Comments
No comments.