This method of the Connection class has the following signatures:
execute(String commandText)
execute(String commandText, int recordsaffected)
Executes the query, SQL statement, or stored procedure specified in the commandText parameter.
public com.ms.wfc.data.Recordset execute(String commandText);
Returns a Recordset object reference.
commandText | A String that contains the SQL statement, table name, stored procedure, a URL, or provider-specific text to execute. |
Executes the query, SQL statement, or stored procedure specified in the commandText parameter and returns the number of records affected by the procedure.
public com.ms.wfc.data.Recordset execute(String commandText, int recordsaffected);
Returns a Recordset object reference.
commandText | A String that contains the SQL statement, table name, stored procedure, a URL, or provider-specific text to execute. |
recordsaffected | Optional. A variable to which the provider returns the number of records that the operation affected. |