Formatting SQL
Today I found a nice little Java tool to help format long SQL queries. It has many options on how the string will be formatted. It will also take sql input types such as:
- SQL
- DB2/UDB
- Oracle
- MSAccess
- SQL Server
- Sybase
- MYSQL
- PostgreSQL
- Informix
It then can take this input SQL and format it into a different type such as:
- SQL
- Java StringBuffer
- Java String
- C# StringBuilder
- PHP String
- ASP StringBuilder
- VB String
- VB StringBuilder
- Concatenated SQL
- HTML Code
This tool really has a lot of options and is very handy when trying to read/edit a long SQL query.

![[Ask]](http://brett.batie.com/wp-content/plugins/bookmarkify/ask.png)
![[del.icio.us]](http://brett.batie.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://brett.batie.com/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://brett.batie.com/wp-content/plugins/bookmarkify/facebook.png)
![[Google]](http://brett.batie.com/wp-content/plugins/bookmarkify/google.png)
![[LinkedIn]](http://brett.batie.com/wp-content/plugins/bookmarkify/linkedin.png)
![[MySpace]](http://brett.batie.com/wp-content/plugins/bookmarkify/myspace.png)
![[Reddit]](http://brett.batie.com/wp-content/plugins/bookmarkify/reddit.png)
![[Slashdot]](http://brett.batie.com/wp-content/plugins/bookmarkify/slashdot.png)
![[Sphere]](http://brett.batie.com/wp-content/plugins/bookmarkify/sphere.png)
![[StumbleUpon]](http://brett.batie.com/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://brett.batie.com/wp-content/plugins/bookmarkify/technorati.png)
![[Twitter]](http://brett.batie.com/wp-content/plugins/bookmarkify/twitter.png)
![[Windows Live]](http://brett.batie.com/wp-content/plugins/bookmarkify/windowslive.png)
![[Yahoo!]](http://brett.batie.com/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://brett.batie.com/wp-content/plugins/bookmarkify/email.png)

