Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.56 KB

setunicodestream-method-sqlserverpreparedstatement.md

File metadata and controls

54 lines (38 loc) · 1.56 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
setUnicodeStream Method (SQLServerPreparedStatement)
setUnicodeStream Method (SQLServerPreparedStatement)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerPreparedStatement.setUnicodeStream
Assembly

setUnicodeStream Method (SQLServerPreparedStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter number to the given input stream, which will have the specified number of bytes.

Note

This method has been deprecated from the JDBC specification, and calling it will cause a "not implemented" exception to be thrown.

Syntax

  
public final void setUnicodeStream(int n,  
                                   java.io.InputStream x,  
                                   int length)  

Parameters

n

An int that indicates the parameter number.

x

An InputStream object.

length

The number of bytes.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerPreparedStatement Members
SQLServerPreparedStatement Class