What is a good method for parsing an sql string into it separate components. I\'v tried with a regex, however I can\'t get it to work just right.
Say for instance:
The full syntax of an SQL SELECT statement is very complex. I think you may want to limit yourself to a subset of it.