Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.3 KB

File metadata and controls

51 lines (38 loc) · 1.3 KB
title setInt Method (SQLServerPreparedStatement) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerPreparedStatement.setInt
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 5e46b129-9fe1-469f-b2e8-7ce7fb832996
author David-Engel
ms.author v-daenge

setInt Method (SQLServerPreparedStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given int value.

Syntax

  
public final void setInt(int n,  
                         int value)  

Parameters

n

An int that indicates the parameter number.

value

An int value.

Exceptions

SQLServerException

Remarks

This setInt method is specified by the setInt method in the java.sql.PreparedStatement interface.

See Also

SQLServerPreparedStatement Members
SQLServerPreparedStatement Class