| title | prepareStatement Method (java.lang.String) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 02/07/2017 | |
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.reviewer | ||
| ms.technology | connectivity | |
| ms.topic | conceptual | |
| apiname |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | e825765c-eb55-4800-951b-f3495da36641 | |
| author | David-Engel | |
| ms.author | v-daenge |
Creates a SQLServerPreparedStatement object for sending parameterized SQL statements to the database.
public java.sql.PreparedStatement prepareStatement(java.lang.String sql)
sql
A String containing an SQL statement.
A PreparedStatement object.
This prepareStatement method is specified by the prepareStatement method in the java.sql.Connection interface.