This method of the Command class has the following signatures:
execute()
execute(Object[] parameters)
execute(Object[] parameters, int options)
Executes the query, SQL statement, or stored procedure specified in the CommandText property.
public Recordset execute();
Returns a Recordset object reference.
public Recordset execute(Object[] parameters);
Returns a Recordset object reference.
parameters | Optional. A VARIANT array of parameter values passed with an SQL statement. (Output parameters will not return correct values when passed in this argument.) |
public Recordset execute(Object[] parameters, int options);
Returns a Recordset object reference.
parameters | Optional. A VARIANT array of parameter values passed with an SQL statement. (Output parameters will not return correct values when passed in this argument.) |
options | Optional. A Long value that indicates how the provider should evaluate the CommandText property of the Command object. Can be one or more CommandType or ExecuteOption values. |