General SQL Parser is developed to help people who want to check syntax of SQL statements, pretty print out SQL statements, and parse SQL statements into parse tree in their program. It can also provides more detail information about a SQL statement such as statement types (Select, insert, update, delete or create and so on), what's table and fields are used in a statement, and different parts of a SQL statement are also available such as where clause, group by clause and having clause and so on...
General SQL Parser is designed to deal with SQL statement used by different Database Such as Oracle,DB2,Informix,Sybase,Postgres,MySQL and so on. And we will make it conforms to most of the entry-level SQL99 Standard.
Features overview
.NET, COM and VCL version, so it can be used in various development environment such as C#, VB .NET, VC++, VB, DELPHI, Free Pascal, Kylix
Create parser for different databases such as MSSQL,Oracle to deal with different sql dialects.
Syntax check, give the error token, position and hint message.
Pretty print SQL statements with lots of configurable parameters, make it more readable.
Modify all parts of input sql, then rebuild on the fly.
Identify various database objects such as table, field, function in sqls.
Create different visitors to visit parse tree for any purpose with the full control of all tree nodes.
Export parse tree to xml string for further processing.
Generate a list of TCustomSqlStatement objects which represent the corresponding SQL statements that have been parsed.
Parser can be instructed to ignore syntax error and continue.
Continuously check multiple SQL Statements even if there are syntax errors in some of these statements.
|