SQL> !cat /tmp/abc.sql
set serveroutput on
set verify off
a_ATWRT := 'World';
a_strng := 'Hello';
a_strng := a_ATWRT || a_strng;
dbms_output.put_line ( a_strng);
set verify on
ERROR at line 1:ORA-06502
: PL/SQL: numeric or value errorORA-06512
: at line 10
From: Pat Hildebrand [mailto:pat@(protected)]
Sent: Wednesday, February 08, 2006 4:28 PM
To: Roger Xu
Cc: Jared Still; Oracle-L@(protected))
Subject: Re: how do I concatenate a string in PL/SQL?
I common cause of the error that you are getting for strings is that
you are trying to put in a value that is too long for the
variable. Look at your variable definition and what you are trying to
put into it.
On Wed, Feb 08, 2006 at 05:01:16PM EST, Roger Xu <roger_xu@(protected):
> Nothing wrong with the cursor, the only problem is: "a_strng := a_ATWRT || a_strng;"
: PL/SQL: numeric or value error
: at line 97
For technical support please email tech_support@(protected)
This email has been scanned for all viruses by the MessageLabs Email Security System.
This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material.
This email has been scanned for all viruses by the MessageLabs Email Security System. Any questions please call 972-721-8257 or email your request to tech_support@(protected).