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@hotm        To:     Multiple recipients of list ORACLE-L 
<[EMAIL PROTECTED]>       
                    ail.com>             cc:                                           
                            
                    Sent by:             Subject:     Size of variable in PL/SQL       
                            
                    root@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
[EMAIL PROTECTED]



_________________________________________________________________
Seja avisado de novas mensagens do Hotmail e use o comunique-se com seus
amigos com o MSN Messenger em http://messenger.msn.com.br

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Eca Eca
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to