Share via


setBoolean Method (SQLServerCallableStatement)

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

Reference

SQLServerCallableStatement Class

Concepts

SQLServerCallableStatement Members