Is there a way for me to generate the parse tree of an sql statement?
Maybe by using some API that connects to the parser that SQL Server
uses or by using some sort of built in function or stored procedure.
I would like to take something like:
select * from foo where id = @theID
And turn it into something like
Its a very rough example but you get the idea.
View Complete Post