| title | setBoolean Method (SQLServerPreparedStatement) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql-non-specified | |
| ms.prod_service | drivers | |
| ms.service | ||
| ms.component | jdbc | |
| ms.reviewer | ||
| ms.suite | sql | |
| ms.technology |
|
|
| ms.tgt_pltfrm | ||
| ms.topic | article | |
| apiname |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | 63397a19-03a2-44bb-b661-7d62c95b6e4e | |
| caps.latest.revision | 8 | |
| author | MightyPen | |
| ms.author | genemi | |
| manager | jhubbard | |
| ms.workload | Inactive |
[!INCLUDEDriver_JDBC_Download]
Sets the designated parameter to the given boolean value.
public final void setBoolean(int n,
boolean x)
n
An int that indicates the parameter number.
x
A boolean value, either true or false.
This setboolean method is specified by the setboolean method in the java.sql.PreparedStatement interface.
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class