How to check SQL syntax in CM5

I want to check whether the SQL syntax is correct when inputting SQL statements. Is there a corresponding method in CM5?

That’s not something this library provides.

ok,thanks!