| title | execute Method (SQLServerStatement) |
|---|---|
| description | execute Method (SQLServerStatement) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
| apilocation | sqljdbc.jar |
| apiname | SQLServerStatement.execute |
| apitype | Assembly |
[!INCLUDEDriver_JDBC_Download]
Runs the given SQL statement, which can return multiple results.
| Name | Description |
|---|---|
| execute (java.lang.String) | Runs the given SQL statement, which can return multiple results. |
| execute (java.lang.String, int) | Runs the given SQL statement, which can return multiple results, and signals to [!INCLUDEjdbcNoVersion] that any auto-generated keys should be made available for retrieval. |
| execute (java.lang.String, int[]) | Runs the given SQL statement, which can return multiple results, and signals the JDBC driver that the auto-generated keys that are indicated in the given array should be made available for retrieval. |
| execute (java.lang.String, java.lang.String[]) | Runs the given SQL statement, which can return multiple results, and signals the JDBC driver that the auto-generated keys that are indicated in the given array should be made available for retrieval. |