Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » how extended DTP SQL parser so that it can resolve the specific keywords of specific db vendor
how extended DTP SQL parser so that it can resolve the specific keywords of specific db vendor [message #1444492] Tue, 14 October 2014 06:29
LV Frank is currently offline LV FrankFriend
Messages: 3
Registered: October 2014
Junior Member
Now,I have a problem in use dtp plugins.

In my case, I want to use DTP SQL Query Parser to parse SQL of specific db, but there are some keywords can't be successfully resolved like TOP(MS SQL)、LIMIT 0(MySql)and so on. When I typed SQL contained these keyword,the dtp will prompt an formatting error.

Is there any simple way to modify existing content(org.eclipse.datatools.sqltools.parsers.sql.lexer & org.eclipse.datatools.sqltools.parsers.sql.query) to fix?

If not ,how to extend the parser to support vendor specific dialects and custom source generation?

I found this:https://www.eclipse.org/datatools/project_sqldevtools/sqltools_doc/SQL%20Query%20Parser%20User%20documentation.htm

but it's too simple to tell me how to do use lpg to generate my own parser.

So is there anyone who can help me?
Previous Topic:DTP Support for Progress DB
Next Topic:SQL Query Parser - standalone, db2 plugin?
Goto Forum:
  


Current Time: Fri Sep 21 09:29:26 GMT 2018

Powered by FUDForum. Page generated in 0.01534 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top