试过了MSSQL的分块读取Blob字段,又尝试在Oracle下完成,发现还是可行的. 首先建立一个存储过程: create or replace procedure PRO_GET_BLOB( I_PKGID IN INTEGER, --文件ID I_MOUNT IN INTEGER, --复制数据数量(Byte) I_OFFSET IN INTEGER, --起始位置 B_RESULT IN OUT BLOB) --返还结果…
原文摘自:http://heisetoufa.iteye.com/blog/ '模块代码 Private Declare Function CreateStreamOnHGlobal Lib "ole32" (ByVal hGlobal As Long, ByVal fDeleteOnRelease As Long, ppstm As Any) As Long Private Declare Function OleLoadPicture Lib "olepro32"…