Hello,
I'm using Delphi 5, with DOA 3.4.6 to connect to an Oracle 9i database. I have a long raw column that I'm trying to access, with the eventual goal of storing each line (it's mostly text) in a TMemo.
I cannot get this to work. So far, I'm using:
The error that I get is "Field LONGRAWCOL is not a LOB".
Any ideas?
I'm using Delphi 5, with DOA 3.4.6 to connect to an Oracle 9i database. I have a long raw column that I'm trying to access, with the eventual goal of storing each line (it's mostly text) in a TMemo.
I cannot get this to work. So far, I'm using:
Code:
TheBlob := TLOBLocator.Create(Oracle,otBlob);
with SQLQuery do
begin
Session := Oracle;
SQL.Clear;
SQL.Add('SELECT longrawcol FROM mytable WHERE id = 1');
Execute;
end;
TheBlob := SQLQuery.LOBField(0);
Any ideas?