使用将具有指定字节数的指定输入流更新指定列。

注意: 从 Microsoft SQL Server JDBC Driver 2.0 版开始引入此功能。

语法

public void updateBlob(int columnIndex,
java.io.InputStream inputStream,
long length)

参数

columnIndex

指示列索引的 int

inputStream

InputStream 对象。

length

指示流长度的 long 值。

异常

SQLServerException

备注

updateBlob 方法由 java.sql.ResultSet 接口中的 updateBlob 方法指定。

请参阅

SQLServerResultSet 类
updateBlob 方法 (ISQLServerResultSet)
ISQLServerResultSet 成员