CLOB data Select error
Posted: Wed 26 Oct 2005 07:32
Using
ODAC version 5.55.1.24
delphi 7
oracle 9i
Setting
OraSession1.Options.Net := True;
OraSession1.Options.CharLength := 0;
OraSession1.Options.Charset := '';
OraSession1.Options.UseUnicode := True;
application query:
select CLOB_FIELD_TEST from CLOBTABLE where Id = :Id
(CLOB_FIELD_TEST is Clob field)
application code:
SmartQuery1.ParamByName(Id').AsString := IdNumber;
try
SmartQuery1.Execute; <- this line find error
except
end;
...
...
error Message:
'ORA-06505: PL/SQL: variable requires more than 32767 bytes of contiguous memory'
why??
ODAC version 5.55.1.24
delphi 7
oracle 9i
Setting
OraSession1.Options.Net := True;
OraSession1.Options.CharLength := 0;
OraSession1.Options.Charset := '';
OraSession1.Options.UseUnicode := True;
application query:
select CLOB_FIELD_TEST from CLOBTABLE where Id = :Id
(CLOB_FIELD_TEST is Clob field)
application code:
SmartQuery1.ParamByName(Id').AsString := IdNumber;
try
SmartQuery1.Execute; <- this line find error
except
end;
...
...
error Message:
'ORA-06505: PL/SQL: variable requires more than 32767 bytes of contiguous memory'
why??