isSQLValid

isSQLValid(sql: String): Boolean;

The isSQLValid method of the ExternalDatabase class checks the syntax of the SQL statement specified in the sql parameter. It returns true if the syntax is valid and it is supported by the driver and the data source.

If the SQL syntax is not valid and supported, this method returns false. No exception is raised if the syntax is not acceptable.