tags:

views:

149

answers:

1

I need to create an SQL formatter in C#. Could anyone point me to some resources on the net? Do I need to implement a full-fledged parser, or is there an easier way to do it?

+1  A: 

Have a look at

Parsing SQL code in C#

Also hav a look at

Sql Pretty Printer

astander
Yup, if you can parse it you can format it.
Lex Li