July 30, 2008 at 5:35 pm
i have hundreds of sql scripts written with poor indentaion. its very hard to read. instead of indenting each and every lengthy sql script, is there any text editor in market which will do auto identation for the supplied sql scripts.
July 31, 2008 at 3:42 am
Try one of these:
http://www.wangz.net/cgi-bin/pp/gsqlparser/sqlpp/sqlformat.tpl
or
[font="Verdana"]Markus Bohse[/font]
July 31, 2008 at 3:51 am
I was looking for the reply of this post...
Nice tool found.
Thanks Markus Bohse
Atif Sheikh
July 31, 2008 at 5:32 am
The newest version of Red Gate's SQL Prompt will do that for you and lots more. Also Red Gate's SQL Refactor has a way to clean up the layout of code. If nothing else, here's a quick, free, utility to do the same:
http://www.simple-talk.com/sql/sql-tools/the-simple-talk-sql-prettifier/[/url]
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
July 31, 2008 at 6:37 am
Thanks All. Appreciate your quick response for big help. 🙂
January 22, 2014 at 12:04 pm
a free tool with option to customize
January 22, 2014 at 12:08 pm
I use a free plug in for SSMS... http://www.tsqltidy.com/ It works pretty good.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply