Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.88 KB

File metadata and controls

48 lines (33 loc) · 1.88 KB
title updateBinaryStream Method (int, java.io.InputStream)
description updateBinaryStream Method (int, java.io.InputStream)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference

updateBinaryStream Method (int, java.io.InputStream)

[!INCLUDEDriver_JDBC_Download]

Updates the designated column with a binary stream value.

Syntax

  
public void updateBinaryStream(int columnIndex,  
                               java.io.InputStream x)  

Parameters

columnIndex

An int that indicates the column index.

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[!INCLUDEssNoVersion] 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