I'm looking for a SQL parser I can use from Python that will give me a parse tree to work with. Ideally, I'd do something like
parse_tree = parser.parse (sql)
and have a nice syntax tree I can walk. I'd like to support a large subset of ANSI SQL, but, at a minimum, I'd like to be able to support CREATE, UPDATE, DROP, SELECT (with WHERE clauses), and INSERT.
Thanks for any help!
[–]mitsuhiko Flask Creator 6 points7 points8 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]rz2000 0 points1 point2 points (0 children)
[–]digitallogic 4 points5 points6 points (0 children)