Back to document index

Getting Started

General SQL Parser is a powerful component with rich set of features, the best way to getting started with this component is to check demos that meet 

your requirements, here is the list: 

 

1. XML output of sql query structure. 

Try any sqls you have with this demo, check out how it was processed by sql parser, and what output you can get. By checking source code of this demo, you will familiar with most important properties and methods of this component. 

 

http://www.sqlparser.com/dl/samples/xmloutput.zip 

 

2. Beautify SQL. 

You can tidy sql within your program just with several lines of code. 

 

http://www.sqlparser.com/dl/samples/prettyprint.zip 

 

3. Get database objects in sql. 

There are several ways you can use to fetch database objects in sql statement, please check more detail information here: 

http://www.sqlparser.com/docs/How_to_identify_DB_objects_in_your_sql.html 

http://www.sqlparser.com/dl/samples/getdbobject.zip 

 

4. Handle expression or predicates accurately. 

Where clause or other clauses that include expression/predicates can be visited in different ways to accomplish your task. 

http://www.sqlparser.com/docs/How_to_use_expression.html 

http://www.sqlparser.com/dl/samples/visitexpression.zip 

 

Still doesn't find demos you need? Feel free to contact us to request demo.



  Back to document index