in reply to Checking SQL Syntax
I wonder what's your motivation for checking the syntax, what's wrong with just running the query and handle errors, if any?