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: Oracle XPATH question

Davey, Alan


Oh, and for anyone trying to follow this at home, make sure your xsl
template text is correct. I experienced numerous ORA-03113 errors while
learning its syntax :-)


-----Original Message-----
From: oracle-l-bounce@(protected)
Sent: Friday, March 17, 2006 1:22 PM
To: Christian Antognini
Cc: oracle-l@(protected)
Subject: RE: Oracle XPATH question

Christian and others,

Thank you for the feedback. This may not be the best solution, but by
using XSLT I can get the results I was looking for:

        ('<?xml version="1.0" ?>
        <xsl:stylesheet version="1.0"

         <xsl:template match="/">
<xsl:for-each select="TAM/SI">
          <posn><xsl:value-of select="position()"/></posn>
          <station><xsl:value-of select="station"/></station>
          <program><xsl:value-of select="programname"/></program>

The output of this can then be wrapped with another select statement to
produce the records and columns I was originally after. The beauty of
this approach is that since I have to deal with two radically different
XML files containing similar data, I can dynamically choose the correct
template at run time and the outer select statement will still return
the correct result set.

The only possible flaw I can see with this approach would be if the
xsl:for-each didn't process nodes sequentially. This seems unlikely,
but if someone knows otherwise, please let me know.


Alan Davey

-----Original Message-----
From: Christian Antognini [mailto:Christian.Antognini@(protected)]
Sent: Thursday, March 16, 2006 5:25 PM
To: Davey, Alan
Cc: oracle-l@(protected)
Subject: RE: Oracle XPATH question



If you find a good solution, please, let me know.


PS: 3 years ago I posted a very similar answer... (see
eventually in 3 years I'll know how to do it.