| title | setString Method (SQLServerPreparedStatement) | 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 | 25dabdc9-c60f-485a-87eb-306067964765 | |
| author | David-Engel | |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Sets the designated parameter to the given String value.
public final void setString(int index,
java.lang.String str)
index
An int that indicates the parameter number.
str
A String value.
This setString method is specified by the setString method in the java.sql.PreparedStatement interface.
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class