Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.73 KB

File metadata and controls

38 lines (31 loc) · 1.73 KB
title updateBytes Method (SQLServerResultSet) | 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.updateBytes
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 3050c836-fbb3-4475-99e5-05637a48a932
author David-Engel
ms.author v-daenge

updateBytes Method (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

Updates the designated column with an array of byte values.

Overload List

Name Description
updateBytes (int, byte[]) Updates the designated column with an array of byte values given the column index.
updateBytes (java.lang.String, byte[]) Updates the designated column with an array of byte values given the column name.

Remarks

In a previous version of [!INCLUDEjdbcNoVersion], you could use SQLServerResultSet.updateBytes to convert values between byte arrays and [!INCLUDEssNoVersion] data type date, time, datetime2, or datetimeoffset. Now, using this method with those data types will cause an exception indicating that the conversion is not supported.

See Also

SQLServerResultSet Members
SQLServerResultSet Class