Kevin,
There used to be a parser that shipped with SQL Server 2000 which would
parse apart the keywords for SQL queries (for Oracle syntax and for SQL
Server syntax). However, there is little documentation to indicate just
*how* it is parsed.
However, a general search for SQL parser on google turned up a number of
results, some of which I am sure can be converted or used in .NET.
Hope this helps.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
>I thought that the parse query feature in Query Analyzer simply wrapped
>your
[quoted text clipped - 13 lines]
>
> kevin