Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.37 KB

File metadata and controls

51 lines (38 loc) · 1.37 KB
title setBoolean Method (SQLServerCallableStatement) | 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
SQLServerCallableStatement.setBoolean
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 8cd810b1-9858-4e51-9535-239d864cd288
author David-Engel
ms.author v-daenge

setBoolean Method (SQLServerCallableStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given boolean value.

Syntax

  
public void setBoolean(java.lang.String sCol,  
                       boolean b)  

Parameters

sCol

A String that contains the parameter name.

b

A boolean value, either true or false.

Exceptions

SQLServerException

Remarks

This setBoolean method is specified by the setBoolean method in the java.sql.CallableStatement interface.

See Also

SQLServerCallableStatement Members
SQLServerCallableStatement Class