Is there a way to parse a T-SQL select statement with the "Oslo" M runtime?
Posted
by Darrel Miller
on Stack Overflow
See other posts from Stack Overflow
or by Darrel Miller
Published on 2009-09-24T00:13:40Z
Indexed on
2010/04/08
6:03 UTC
Read the original article
Hit count: 302
Searching around the Microsoft.M assembly I found the SourceParser class and whole set of classes in the Microsoft.TSQL10 namespace that seem related to parsing SQL but I cannot find examples of how to use it.
I know the you can generate T-SQL easily enough, but can you consume it, manipulate the data structure and re-output a modified version of the SQL select?
© Stack Overflow or respective owner