| title | prepareStatement Method (java.lang.String, java.lang.String) | 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 | e0db2871-3a5f-4fcc-af61-92333042dcd1 | |
| author | David-Engel | |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Creates a SQLServerPreparedStatement object for sending parameterized SQL statements to the database.
public java.sql.PreparedStatement prepareStatement(java.lang.String sql,
java.lang.String[] columnNames)
sql
A String containing an SQL statement.
columnNames
A String array of column names.
A PreparedStatement object.
This prepareStatement method is specified by the prepareStatement method in the java.sql.Connection interface.
prepareStatement Method (SQLServerConnection)
SQLServerConnection Members
SQLServerConnection Class