All Oracle Error Codes
Oracle DBA Forum

Frequent Oracle Errors

TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated

Re: how do I concatenate a string in PL/SQL?

Jared Still



Apparently my first attempt for a working example
to exhibit the error has failed.

Please read http://www.catb.org/~esr/faqs/smart-questions.html

There's nothing wrong with the fragment you posted.

You also might want to crack open the docs.

They are downloadable/viewable from otn.oracle.com.

Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

On 2/8/06, Roger Xu <roger_xu@dp7uptx.com> wrote:
Nothing wrong with the cursor, the only problem is: "a_strng := a_ATWRT || a_strng;"
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at line 97
everything else works fine if I comment out "a_strng := a_ATWRT || a_strng;"
Again, the question is "How do I concatenate a string?" I guess := is for numeric value only?
-----Original Message-----
From: Jared Still [mailto:jkstill@gmail.com]
Sent: Wednesday, February 08, 2006 3:17 PM
To: Roger Xu
Cc: Oracle-L@Freelists. Org (E-mail)
Subject: Re: how do I concatenate a string in PL/SQL?

It is hard to help when we don't know what the errors are.

Try posting a working example that duplicates the error.

On 2/8/06, Roger Xu < roger_xu@dp7uptx.com> wrote:
I am a PL/SQL newbie and the following gives me errors while executing.
a_strng := NULL;
open b_cursor;
    fetch b_cursor into a_ATWRT;
    a_strng := a_ATWRT || a_strng;
    exit when b_cursor%NOTFOUND;
end loop;
close b_cursor;

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.