Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-06502: PL/SQL: numeric or value error
> When i assign a large string(less than 32000 characters) to
> the varchar2 i get a ORA-06502: PL/SQL: numeric or value error. I
> suspect that there is a default size for a varchar out parameter,since
> a small string has no problem. Is there any way to change that efault
> size of this paramter?
There are two limitations. The largest VARCHAR2 that you can insert into the database is 4000 characters long. The largest VARCHAR2 that you can declare as a PL/SQL variable is 32767 long. If your strings are larger than that, you'll have to consider a different data type.
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Apr 06 2000 - 00:00:00 CDT
![]() |
![]() |