ANTLR SQL Server get table and field names
0 posts in topic
Flat View  Flat View

Posted By:   gino_pilotino
Posted On:   Thursday, April 21, 2005 03:36 AM


I need an SQLServer Parser that parse an SQL string and give me the tables and the fields encountered.

I use ANTLR and the grammar of Tomasz Jastrzebski that recognize really well the SQLServer instructions.

But all ANTLR do is only parsing and there is no answer at my requests:

1) "what are the tables name present in the query?"

2) "that are the fields name present in the query?"

How can I do this? Any suggestion?


About | Sitemap | Contact