setBoolean Method (SQLServerPreparedStatement)

Download JDBC driver

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