Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.25 KB

File metadata and controls

46 lines (33 loc) · 1.25 KB
title setBoolean Method (SQLServerCallableStatement)
description setBoolean Method (SQLServerCallableStatement)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerCallableStatement.setBoolean
apitype Assembly

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