I am looking for a good SQL parser in Delphi (2010) for SQL Server. I need such thing to parse an query and extract: select list, where and order by clauses. It does not matter if it is a commercial or an open-source solution. It can also be a DLL (written in any language, of course) but I prefer a VCL component over a DLL.
Share
Rafael Delphi comes with a sql parser located in the
DBCommonunitCheck these functions
This is a very simple sample to show how parse a sql sentence and get all the elements.
this will return