Hi,
I've just stumbled across the Mimer SQL Validator (commercial product):
http://developer.mimer.com/validator/
Not that I know it...
Anyway, there are different things (like PHP scripts or stored
procedures and such), which do a whole lot of other logic and/or
processing which influences the queries they finally make. So I think
such SQL checkers are not that useful. Might be just MHO, though.
Regards
Markus