Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.36 KB

File metadata and controls

51 lines (38 loc) · 1.36 KB
title setBoolean 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
SQLServerPreparedStatement.setBoolean
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 63397a19-03a2-44bb-b661-7d62c95b6e4e
author David-Engel
ms.author v-daenge

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