SQL Parser

Does anyone know of any available SQL parsing APIs? Given an SQL statement, I'd like to know if it may cause a Cartesian product so I can warn the user before the query attempt.
[185 byte] By [vinays84a] at [2007-11-27 2:11:41]
# 1
Wouldn't be too hard to write one using javacc. I'm sure the EBMF for ANSI sql is out there.
ChristopherAngela at 2007-7-12 2:05:09 > top of Java-index,Java Essentials,Java Programming...