c++builder向Oracle中的BLOB写入文件出错?
--表结构:如下
create table 文件写入
(
编号 Number Not Null,
名称 Varchar2(20) Not Null,
文件 Blob
)
--写入Oracle数据库
AdoTable1->Close();
AdoTable1->Filtered = false;
AdoTable1->Filter = "";
AdoTable1->TableName = "文件写入";
AdoTable1->Open();
AdoTable1->Append()
AdoTable1->Edit();
AdoTable1->FieldByName("编号")->AsInteger=1;
AdoTable1->FieldByName("编号")->AsString="AAA";
((TBlobField *)(AdoTable1->FieldByName("文件")))->LoadFromFile("c:\\文档.doc");
AdoTable1->Post();//运行到这里出错这个错误提示:ORA-01006:bind variable does not exist
有那位高手知道解决方法......................