Bind String > 4000 chars?
Posted: Wed 28 Oct 2009 11:27
I'm trying to get a bind var value from a plsql routine that returns more than 4000 characters. I can get up to 4000, but any more and I get
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
My plsql code looks like:
I'm using a parameter datatype of ftString. Is there a different datatype to use for plsqlstrings that could be up to 32767 chars? Thanks for any help!
-Mark
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
My plsql code looks like:
Code: Select all
begin
:MyVar := rpad('*',4001,'*'); -- Any val higher then 4000 fails.
:MyVarLength := length(:MyVar);
end;
-Mark