Search notes:

ADODB.Connection: Execute

The execute() method of ADODB.connection executes an SQL statement.
This method returns a RecordSet object.
set rs = conn.execute(sqlStmt)
set rs = conn.execute(sqlStmt, nofRecords)
set rs = conn.execute(sqlStmt, nofRecords, options)
The second parameter (nofRecords) is assigned the number of records that was affected by the SQL statement.
options is a bitmask where flags of commandTypeEnum and executeOptionEnum can be combined.

See also

The command object allows to create a parametrized SQL statement that can be used multiple times, each time using a different set of values for the parameters.
ADO

Index