Added validation SQL statements to the datasource