Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.58 KB

File metadata and controls

54 lines (40 loc) · 1.58 KB
title updateObject Method (int, java.lang.Object, int) | 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
SQLServerResultSet.updateObject (int, java.lang.Object, int)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 9d33571b-4887-49d3-96df-8abda7b5a904
author David-Engel
ms.author v-daenge

updateObject Method (int, java.lang.Object, int)

[!INCLUDEDriver_JDBC_Download]

Updates the designated column with an Object value given the column index and scale.

Syntax

  
public void updateObject(int index,  
                         java.lang.Object x,  
                         int scale)  

Parameters

index

An int that indicates the column index.

obj

An Object value.

scale

For java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types, this is the number of digits after the decimal point. For all other types, this value is ignored.

Exceptions

SQLServerException

See Also

updateObject Method (SQLServerResultSet)
SQLServerResultSet Members
SQLServerResultSet Class