views:

55

answers:

1

Hey, All:

I've been looking for a free library/source code to format SQL queries, preferably in .NET, for quite a while. Even after searching some of the responses here on SO, I'm almost at the point where I'm willing to believe that nothing like this exists.

The closest thing I've found, a project called sqlformat, does not seem to be active, nor does it really even support a workable subset of SQLs features for formatting.

Are there any free or open source SQL formatting libraries out there? I don't want a canned product, as I need to integrate this functionality into a tool I'm building. Web services aren't acceptable either, since the ones I have found like T-SQL Tidy haven't proven to be very reliable.

A: 

I don't know about a free version, but there is one here for only $100 and you can try it for 60 days (choose the API version).

http://www.dpriver.com/buynow.php

It's not free, but at $100, it's probably less than 2 hours of your time trying to find/integrate a free one

amarsuperstar