Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » SQL Parsing of DB2 dialect
SQL Parsing of DB2 dialect [message #28399] Wed, 28 March 2007 15:11 Go to next message
Eclipse UserFriend
Originally posted by: efratn.hotmail.com

I'm trying to parse some DB2 queries, that contain a db2 comment, like:

select * from customer -- here is the comment

the generic SQLQueryParserManager fails on this.

In the documentation it says to call the SQLQueryParserManager with the
dbVendor and dbVersion,
but this doesn't seem to help - maybe I'm missing some requiered
jars/plugins?


Thanks
Efrat
Re: SQL Parsing of DB2 dialect [message #30482 is a reply to message #28399] Thu, 03 May 2007 20:40 Go to previous message
Brian Payton is currently offline Brian PaytonFriend
Messages: 154
Registered: July 2009
Senior Member
The SQLQueryParser should work OK with comments. What is the error you
are getting?

Brian Payton
DTP SQL Development Tools committer
IBM

Efrat wrote:
> I'm trying to parse some DB2 queries, that contain a db2 comment, like:
>
> select * from customer -- here is the comment
>
> the generic SQLQueryParserManager fails on this.
>
> In the documentation it says to call the SQLQueryParserManager with
> the dbVendor and dbVersion,
> but this doesn't seem to help - maybe I'm missing some requiered
> jars/plugins?
>
>
> Thanks
> Efrat
>
Re: SQL Parsing of DB2 dialect [message #585558 is a reply to message #28399] Thu, 03 May 2007 20:40 Go to previous message
Brian Payton is currently offline Brian PaytonFriend
Messages: 154
Registered: July 2009
Senior Member
The SQLQueryParser should work OK with comments. What is the error you
are getting?

Brian Payton
DTP SQL Development Tools committer
IBM

Efrat wrote:
> I'm trying to parse some DB2 queries, that contain a db2 comment, like:
>
> select * from customer -- here is the comment
>
> the generic SQLQueryParserManager fails on this.
>
> In the documentation it says to call the SQLQueryParserManager with
> the dbVendor and dbVersion,
> but this doesn't seem to help - maybe I'm missing some requiered
> jars/plugins?
>
>
> Thanks
> Efrat
>
Previous Topic:Design Error (and its Solution) in SQL Query Parser?
Next Topic:"SQL Results" Tab
Goto Forum:
  


Current Time: Wed Apr 24 15:56:35 GMT 2024

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

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

Back to the top