我想不会超过32K。
主要代码如下:
blob lb_sj
lb_sj=blob(ls_data)
updatebolb hs_wcbb set bbsj=:lb_sj where ysbbxh=:li_sbxh using hs_tran;
if hs_tran.sqlcode<>0 then
rollback using hs_tran;
else
commit using hs_tran;
end if
//============================
你的blob数据是从那儿得到的,是不是来源有问题
updateblob 要把transobject 设置成自动提交的
Database information Sybase and Microsoft SQL Server users must set the AutoCommit property of the transaction object to True before calling the UPDATEBLOB function.
我想不会超过32K。
主要代码如下:
blob lb_sj
lb_sj=blob(ls_data)
updatebolb hs_wcbb set bbsj=:lb_sj where ysbbxh=:li_sbxh using hs_tran;
if hs_tran.sqlcode<>0 then
rollback using hs_tran;
else
commit using hs_tran;
end if
成功执行了,但却没有数据,是不是不能这样转换呢?如果解决了,我会另外开个帖子给100分!