The Execute attribute function executes a SQL statement.
Syntax | |||||
Execute(SQL [, RecordsAffected]) | |||||
Return value | |||||
Type |
Description | ||||
Table |
The result of the query | ||||
Parameter | |||||
Use |
Name |
Type |
Passing |
Description | |
Required |
SQL |
String |
ByVal |
SQL-Statement | |
Optional |
RecordsAffected |
Long |
ByRef |
Number of records affected | |