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[4]: Oracle/PHP Issue

Edgar Chupit


Hello Mladen,

MG> used directly. Theoretically speaking, it is possible to execute SQL without
MG> bind & define calls, but it would definitely cause mayor problems with the code
MG> design. Below is the list of the DB functions from the PEAR site and, unless

First of all, I've used DB functions myself only once, and it was just
testing, so I may miss something, but I guess you are correct that
this library, because of abstraction level, doesn't have things like
define_by_name, it does have build in binding, but you still will have
problems when you'll want custom type binds, like ref cursors or
anything else. But for "generic" types it will work fine.

  * Prepares a query for multiple execution with execute().
  * With oci8, this is emulated.
  * prepare() requires a generic query as string like <code>
  *   INSERT INTO numbers VALUES (?, ?, ?)
  * </code>. The <kbd>?</kbd> characters are placeholders.
  * Three types of placeholders can be used:
  *  + <kbd>?</kbd> a quoted scalar value, i.e. strings, integers
  *  + <kbd>!</kbd> value is inserted 'as is'
  *  + <kbd>&</kbd> requires a file name. The file's contents get
  *              inserted into the query (i.e. saving binary
  *              data in a db)
  * Use backslashes to escape placeholder characters if you don't want
  * them to be interpreted as placeholders. Example: <code>
  *   "UPDATE foo SET col=? WHERE col='over \& under'"
  * </code>
  * @param string $query query to be prepared
  * @return mixed DB statement resource on success. DB_Error on failure.

and than you have to pass data to the execute() function.

I think, like with any open source software you have some choice:
* you can use it as is,
* you can adapt it to fit your needs,
* you can throw it away.
It is up to you what way to chose :)


Please see the official ORACLE-L FAQ: http://www.orafaq.com
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe' in the subject line.
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html