SQL-formatter (updated)
Working a lot with SQL at the moment i found a handy tool for formatting SQL-code.
SqlInform automatic SQL code formatter (http://www.sqlinform.com/)
There is an online version but also a free although time-limited JAVA-program to download. The online version handles just 100 lines of code mind you.
Another online formatter without the 100-line limit. http://www.dpriver.com/pp/sqlformat.htm
Some that i havent tried (yet…)
http://www.orafaq.com/utilities/sqlformatter.htm
http://www.dbainfopower.com/dbaip_free_download_execute.php (free registration )
http://www.wangz.net/cgi-bin/pp/gsqlparser/sqlpp/sqlformat.tpl (Pay)
http://www.ubitsoft.com/products/sqlenlight/sqlenlight.php (pay)