Share via


isNullable Method (SQLServerParameterMetaData)

Retrieves whether null values are allowed in the designated parameter.

Syntax

public int isNullable(int param)

Parameters

param

An int that indicates parameter index.

Return Value

An int that indicates the nullability of the designated parameter, which can be one of the following values:

ParameterMetaData.parameterNoNulls

ParameterMetaData.parameterNullable

ParameterMetaData.parameterNullabilityUnknown

Exceptions

SQLServerException

Remarks

This isNullable method is specified by the isNullable method in the java.sql.ParameterMetaData interface.

See Also

Reference

SQLServerParameterMetaData Class

Concepts

SQLServerParameterMetaData Methods

SQLServerParameterMetaData Members