updateBinaryStream Method (int, java.io.InputStream)
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
Remarks
This updateBinaryStream method is specified by the updateBinaryStream method in the java.sql.ResultSet interface.
Using this method for the image, text, and ntextSQL Server data types might impact the performance.
This method passes bytes from an InputStream object to selected SQL Server 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
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho