Parameter | Description |
---|---|
sSQLQuery | SQL Query |
Result set.
Function SQLExecDirect String sSQLQuery Returns Variant
Call: | Get SQLExecDirect sSQLQuery to VariantVariable |
Executes a SQL Query and returns a result set.
See cSQLExecutor for more information about result sets.
Example of a query with a result set.
String[][] aResults // Fetch results into aResults Get SQLExecDirect of ghoSQLExecutor @SQL"SELECT Name, City, Zip FROM Customer" to aResults // Test for errors If (not(Err)) Begin // Process results here.. End