Parameter | Description |
---|---|
sSQLQuery | SQL Query |
Procedure SQLExecDirect String sSQLQuery
Call: | Send SQLExecDirect sSQLQuery |
Executes a SQL Query.
Example of SQLExecute without a result set.
Integer iAffectedRows Send SQLExecDirect of ghoSQLExecutor @SQL"UPDATE Customer SET NAME = 'Thomas Hardy', City = 'London' WHERE Customer_Number = 1" // Test for errors If (not(Err)) Begin Get piSQLAffectedRows of ghoSQLExecutor to iAffectedRows End