--- title: "setBinaryStream Method (SQLServerPreparedStatement) | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.technology: connectivity ms.topic: conceptual ms.assetid: 2adb2b88-96d6-4645-86d0-0388c8186691 author: David-Engel ms.author: v-daenge --- # setBinaryStream Method (SQLServerPreparedStatement) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Sets the designated parameter to the specified input stream. ## Overload List |Name|Description| |----------|-----------------| |[setBinaryStream Method (int, java.io.InputStream)](../../../connect/jdbc/reference/setbinarystream-method-int-java-io-inputstream.md)|Sets the designated parameter to the specified input stream.| |[setBinaryStream Method (int, java.io.InputStream, int)](../../../connect/jdbc/reference/setbinarystream-method-int-java-io-inputstream-int.md)|Sets the designated parameter to the specified input stream, which will have the specified number of bytes.| |[setBinaryStream Method (int, java.io.InputStream, long)](../../../connect/jdbc/reference/setbinarystream-method-int-java-io-inputstream-long.md)|Sets the designated parameter to the specified input stream, which will have the specified number of bytes.| ## See Also [SQLServerPreparedStatement Members](../../../connect/jdbc/reference/sqlserverpreparedstatement-members.md) [SQLServerPreparedStatement Class](../../../connect/jdbc/reference/sqlserverpreparedstatement-class.md)