merin
merin

Reputation: 333

Sql Parser With Engine

I need parser on java that parse SQL and return it as some structure. This structure must have some binding point to what I can bind low level reader.

Upvotes: 1

Views: 1327

Answers (2)

James Wang
James Wang

Reputation: 483

How about parse sql and then generate XML output with query structure information. then you can use this XML which including SQL parse tree for further investigation.

Upvotes: 0

Nick Holt
Nick Holt

Reputation: 34321

In case you need to did a little deeper than @Adamski's Zql, take a look at ANTLR, which has grammars for most flavors of SQL.

Upvotes: 1

Related Questions