I encounter problem to fetch binary data from Oracle fields with NCLOB datatype. For example, I have following table:
Code: Select all
CREATE TABLE testlob (
id INTEGER,
name VARCHAR(50),
bindata NCLOB
)
Code: Select all
qry := TZQuery.Create(nil);
qry.Connection := ZConnection1;
with qry do begin
qry.SQL.Text := 'select id, bindata from testlob';
qry.Open;
end;
I use Delphi 2007, Zeos 6.6.5-stable, Oracle XE 10.2.0.1.0.
Any suggestions?