Skip to content

Latest commit

 

History

History
64 lines (49 loc) · 1.78 KB

File metadata and controls

64 lines (49 loc) · 1.78 KB
title isNullable Method (SQLServerParameterMetaData) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service drivers
ms.service
ms.component jdbc
ms.reviewer
ms.suite sql
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerParameterMetaData.sNullable
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid d7e07cff-6fc4-4c9c-8e8f-838c77734bc5
caps.latest.revision 7
author MightyPen
ms.author genemi
manager jhubbard
ms.workload Inactive

isNullable Method (SQLServerParameterMetaData)

[!INCLUDEDriver_JDBC_Download]

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

SQLServerParameterMetaData Methods
SQLServerParameterMetaData Members
SQLServerParameterMetaData Class