I'm looki开发者_开发百科ng to pretty print SQL code. Preferably free and/or online based.
My favorite: http://www.dpriver.com/pp/sqlformat.htm?ref=g_wangz
If you have SQLNAV you May have the formatter tools as well. They can do the job
take a look at this lightweight javascript plugin
http://www.eslinstructor.net/vkbeautify/
simply grab the code and use it.
With this plugin you can beautify not only SQL, but also XML, JSON and CSS.
Pretty useful.
精彩评论