Executes a query against the database using the supplied connection resource. The query result can be retrieved or stored
using sasql_store_result or sasql_use_result. The sasql_field_count function can be used to check if the query returns a result
set or not.
Note that the sasql_query function is equivalent to calling this function and one of sasql_store_result or sasql_use_result.