Forum: Ruby SQL Parser

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
64df72aa2735f96f380d3efe2d54afd1?d=identicon&s=25 Gernot Kogler (gkogler)
on 2007-06-29 13:13
Hi

I'm looking for a SQL parser written in Ruby. The parser should handle
the full SQL92 spec, including subselects and the like. I'm only
interested in SELECT-Statements though.

The parser should deliver at least
- a collection of column expressions including the alias, if specified
- the main from clause (including subselects, if any)
- the main where clause (including subselects, if any)
- the order clause

Does anybody know about such a parser? Any help is appreciated!

Best regards
Gernot
B2651178071701b61338e8d7183c10df?d=identicon&s=25 Pedro Fracarolli (Guest)
on 2007-06-29 14:26
(Received via mailing list)
Hello

  Search for Language Parser Toolkit at Rubyforge.
  I don't know if it handles all SQL92 features (I didn't have time to
test it yet), but  you could take a look.

Gernot Kogler <gernot@kogler-informatik.ch> escreveu:  Hi

I'm looking for a SQL parser written in Ruby. The parser should handle
the full SQL92 spec, including subselects and the like. I'm only
interested in SELECT-Statements though.

The parser should deliver at least
- a collection of column expressions including the alias, if specified
- the main from clause (including subselects, if any)
- the main where clause (including subselects, if any)
- the order clause

Does anybody know about such a parser? Any help is appreciated!

Best regards
Gernot

--
Posted via http://www.ruby-forum.com/.
This topic is locked and can not be replied to.