Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Size of variable in PL/SQL
Should be okay if you you use it only for plsql variables, which Oracle version do you have?
Maximum size of a varchar2 plsql variable is 32000 Maximum size of a varchar2 column in a table is 4000 bytes
see more about variable sizes in
http://www.itsystems.lv/gints/oracle_limits.htm
Gints Plivna
"Eca Eca" <ecaeser_at_hotm To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> ail.com> cc: Sent by: Subject: Size of variable in PL/SQL root_at_fatcity. com 2001.08.01 00:26 Please respond to ORACLE-L
Hi Friends :
I have a variable defined as below :
v_smessage varchar2(32000):= null;
When i am using it with size greater than 4000 bytes i am getting error below :
ORA-06502: PL/SQL: numeric or value error: character to number conversion
error
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at line 1
What need I do for it works right ?
Need I to change any parameter in database ?
I have already saw it working rigth ...
Regards
Eriovaldo do Carmo Andrietta
eriovaldo.andrietta_at_widesoft.com.br
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Eca Eca INET: ecaeser_at_hotmail.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Wed Aug 01 2001 - 02:41:12 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: G.Plivna_at_itsystems.lv Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |