-1

I need in simple ANSI SQL parser and am looking for some instant solution. Does antlr have SQL grammar out of the box or should I write it on my own from scratch?

yshavit
  • 42,327
  • 7
  • 87
  • 124
St.Antario
  • 26,175
  • 41
  • 130
  • 318

2 Answers2

2

Here is an SQLite grammar for ANTLR4

https://github.com/antlr/grammars-v4/blob/master/sqlite/SQLite.g4

0

Have a look at this site. It has a java solution

http://jsqlparser.sourceforge.net/home.php

Johan

Johan
  • 24
  • 1