Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.97 KB

File metadata and controls

55 lines (40 loc) · 1.97 KB
title updateBinaryStream Method (java.io.InputStream) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.suite sql
ms.technology connectivity
ms.tgt_pltfrm
ms.topic conceptual
ms.assetid 56883144-26a0-4f45-ad36-4f616369af3e
caps.latest.revision 16
author MightyPen
ms.author genemi
manager craigg

updateBinaryStream Method (java.lang.String, java.io.InputStream)

[!INCLUDEDriver_JDBC_Download]

Updates the designated column with a binary stream value.

Syntax

  
public void updateBinaryStream(java.lang.String columnLabel,  
                               java.io.InputStream x)  

Parameters

columnLabel

A String that contains the column label.

x

An InputStream object.

Exceptions

SQLServerException

Remarks

This updateBinaryStream method is specified by the updateBinaryStream method in the java.sql.ResultSet interface.

Using this method for the image, text, and ntext SQL Server data types might impact the performance.

This method passes bytes from an InputStream object to selected [!INCLUDEssNoVersion] binary columns such as binary, varbinary, varbinary(max), image, xml, and udt. Updating character columns is not supported with this method. To update character columns with an InputStream, use the updateAsciiStream method.

See Also

updateBinaryStream Method (SQLServerResultSet)
SQLServerResultSet Members
SQLServerResultSet Class