BLOB and insert command
Posted: Thu 12 Apr 2007 12:26
Hello,
we have problem with TSQLQuery like this:
insert into TABLE(ID,DATA) values(1,:DATAPAR)
field data is blob. If we use
SQLQuery1.ParamByName('DATAPAR').LoadFromStream(Stream,ftBlob)
and size of stream is larger than 4000 bytes then ExecSQL returns ORA-01460.
Do we have to use another way to store such a value to db or is there someting wrong?
Best regards
Zdenek, Dbexpoda30.dll 3.1.0.7, D2006, Oracle 10gR2, NET mode
we have problem with TSQLQuery like this:
insert into TABLE(ID,DATA) values(1,:DATAPAR)
field data is blob. If we use
SQLQuery1.ParamByName('DATAPAR').LoadFromStream(Stream,ftBlob)
and size of stream is larger than 4000 bytes then ExecSQL returns ORA-01460.
Do we have to use another way to store such a value to db or is there someting wrong?
Best regards
Zdenek, Dbexpoda30.dll 3.1.0.7, D2006, Oracle 10gR2, NET mode