The TSQLParser component for Delphi was designed and implemented by:

Berend Tober
22 Robin Hill Road
Waterford, CT 06385

Compuserve: 70541,1030

Internet:
btober@compuserve.com
btober@connix.com
http://www.connix.com/~btober/


Description

The TSQLParser component for Borland Delphi provides the functionality of
parsing the various parts of simple Structured Query Language (SQL) query
statements of the form

SELECT [ColumnList] FROM [TableList] WHERE [WhereClause] ORDER BY
[OrderbyClause] GROUP BY [GroupByClause] HAVING [HavingClause]

When you set the SQL Property equal to a TStringList object (the way a query
statement is stored as a property of a TQuery object), a TSQLParser object
will return separate String properties for each of the ColumnList, TableList,
WhereClause, OrderBy, GroupBy, and Having expressions/clauses of a simple SQL
query statement. This is useful in situations where you need to modify a query
at run time.

Included with this archive are the compiled unit (.DCU and .DCR) and help
files (.HLP, .KWF) well as a simple sample program. Source is available for
US$20.00.

Permission is granted to include this unit in executable applications,
provided appropriate authorship credit is given.

Permission is not granted to include this code as part of a "third party"
library unless the entire library is distributed without charge.