I am looking for a script or application that selects and reformatts SQL queries. I found some good online SQL formatter (see here ), as well as some downloadable commercial applications. I am careful about using the online service, since I do not want to risk copies of these requests that are stored somewhere, they can be compromised if only in the cache of the web server (and this contradicts my employer policy).
Does anyone know of any open source applications, scripts, or downloadable freeware that could help me with this?
It is probably worth mentioning that I work on the Windows platform at work, but I am open to suggestions for other operating systems.
Hooray!
Update
I used SQLInform, as Vinko Vrsalovic suggested, to have a great effect. Thanks Vinko!
Something that is also worth a look is SQLTidy , a young project in Google Code that can turn into something wonderful for a long time to work.
source share