| title | prepareStatement Method (SQLServerConnection) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.reviewer | ||
| ms.technology | connectivity | |
| ms.topic | conceptual | |
| apiname |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | bd4e4085-f704-4a73-b6a7-7d443d564728 | |
| author | David-Engel | |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Creates a SQLServerPreparedStatement object for sending parameterized SQL statements to the database.
| Name | Description |
|---|---|
| prepareStatement (java.lang.String) | Creates a SQLServerPreparedStatement object for sending parameterized SQL statements to the database. |
| prepareStatement (java.lang.String, int) | Creates a SQLServerPreparedStatement object for sending parameterized SQL statements to the database, and has the capability to retrieve auto-generated keys. |
| prepareStatement (java.lang.String, int[]) | Creates a SQLServerPreparedStatement object for sending parameterized SQL statements to the database, and that is capable of returning the auto-generated keys that are designated by the given array. |
| prepareStatement (java.lang.String, int, int) | Creates a SQLServerPreparedStatement object that generates SQLServerResultSet objects with the given type and concurrency. |
| prepareStatement (java.lang.String, int, int, int) | Creates a SQLServerPreparedStatement object that generates SQLServerResultSet objects with the given type, concurrency, and holdability. |
| prepareStatement (java.lang.String, java.lang.String[]) | Creates a SQLServerPreparedStatement object for sending parameterized SQL statements to the database. |