Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 1.52 KB

File metadata and controls

59 lines (46 loc) · 1.52 KB
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
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerPreparedStatement.setBoolean
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 63397a19-03a2-44bb-b661-7d62c95b6e4e
caps.latest.revision 8
author MightyPen
ms.author genemi
manager jhubbard
ms.workload Inactive

setBoolean Method (SQLServerPreparedStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given boolean value.

Syntax

  
public final void setBoolean(int n,  
                             boolean x)  

Parameters

n

An int that indicates the parameter number.

x

A boolean value, either true or false.

Exceptions

SQLServerException

Remarks

This setboolean method is specified by the setboolean method in the java.sql.PreparedStatement interface.

See Also

SQLServerPreparedStatement Members
SQLServerPreparedStatement Class