Declares the end of execution of a query and frees the memory resources allocated during the execution of the query (SQLExec
Caution: The query must necessarily be freed even if the query execution failed.
// Run the query and retrieve the information
ResSQL = SQLExec("SELECT* FROM INV", "QRY1")
IF ResSQL = False THEN
Info("SQL error: " + SQL.MesError)
<Query name>: Character string
The queries created with the query editor must be specified in the format of a character string.