Home
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

any ideas for a workaround for bug 272219 (create trigger error?)

Jacques Kilchoer

2004-04-26

Replies:
See Bug 272219 (Oracle 7.3 to 10.1 and all versions in-between), and Metalink forum discussion 149572.999.
You cannot create a trigger on a table if the table has a column named the same as the column's data type.

e.g. I cannot create a trigger on this table because the column name is the same name as the column type

SQL> create table t ("DATE" date) ;
Table créée.
SQL> create trigger tr before update on t
2 for each row
3 begin
4   null ;
5 end ;
create trigger tr before update on t
                      *
ERREUR ?la ligne 1 :
ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-320: the declaration of the type of this expression is incomplete or malformed

but I am able to create a trigger on this table (column name is not the same as the column datatype)

SQL> create table t ("DATE" number) ;
Table créée.
SQL> create trigger tr before update on t
2 for each row
3 begin
4   null ;
5 end ;
6 /
Déclencheur créé.

Any ideas for a clever work-around? I can't change the column name because the table was created by a third-party ERP application.

----------------------------------------------------------------
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
-----------------------------------------------------------------
From oracle-l-bounce@(protected)
Return-path: <oracle-l-bounce@(protected)>
Envelope-to: dba@(protected)
Delivery-date: Mon, 26 Apr 2004 18:28:32 -0400
Received: from [206.53.239.180] (helo=turing.freelists.org)
 by mx.perfora.net with esmtp (Exim 3.35 #1)
 id 1BIEaT-0007Mf-00
 for dba@(protected)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP
 id 18E6A72CF49; Mon, 26 Apr 2004 17:15:53 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
id 23549-91; Mon, 26 Apr 2004 17:15:52 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP
 id 3150A72CB72; Mon, 26 Apr 2004 17:15:42 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Mon, 26 Apr 2004 17:14:43 -0500 (EST)
X-Original-To: oracle-l@(protected)
Delivered-To: oracle-l@(protected)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id F40B572C8C8
 for <oracle-l@(protected))
Received: from turing.freelists.org ([127.0.0.1])
by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
id 23549-63 for <oracle-l@(protected)>;
Mon, 26 Apr 2004 17:14:42 -0500 (EST)
Received: from mailer.ip-soft.net (mailer.ip-soft.net [209.67.6.123])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 5ACD472C8C7
 for <oracle-l@(protected))
Received: from highway2 (highway2.ip-soft.net [192.168.5.43])
 by mailer.ip-soft.net (8.12.9/8.12.9) with SMTP id i3QMR7Wu015013
 for <oracle-l@(protected)
Message-Id: <200404262227.i3QMR7Wu015013@(protected)>
From: "Daniel Harron" <daniel@(protected)>
To: <oracle-l@(protected)>
Subject: RE: any ideas for a workaround for bug 272219 (create trigger error?)
Date: Mon, 26 Apr 2004 18:27:07 -0400
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
x-mimeole: Produced By Microsoft MimeOLE V6.00.2800.1409
Thread-Index: AcQr3SWWMyPvafVoTtOd75lPGJBF/wAAGa/g
In-Reply-To: <B5C5F99D765BB744B54FFDF35F60262119FC09@(protected)>
X-Scanned-By: MIMEDefang 2.42
X-Virus-Scanned: by amavisd-new at freelists.org
X-archive-position: 3811
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@(protected)
Errors-To: oracle-l-bounce@(protected)
X-original-sender: daniel@(protected)
Precedence: normal
Reply-To: oracle-l@(protected)
X-list: oracle-l
X-Virus-Scanned: by amavisd-new at freelists.org
Content-Transfer-Encoding: quoted-printable

Can you rename the table and use a synonym?=3D20


-Daniel

--=3D20
Daniel Harron
Database Management
IPsoft, Inc.
daniel.harron@(protected)
http://www.ip-soft.net/
Phone: 888.IPSOFT8
Fax: 801.681.7664
-----Original Message-----
From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)]
On Behalf Of Jacques Kilchoer
Sent: Monday, April 26, 2004 6:24 PM
To: Oracle-L (E-mail)
Subject: any ideas for a workaround for bug 272219 (create trigger =3D
error?)

See Bug 272219 (Oracle 7.3 to 10.1 and all versions in-between), and
Metalink forum discussion 149572.999.
You cannot create a trigger on a table if the table has a column named =3D
the
same as the column's data type.
=3D20
e.g. I cannot create a trigger on this table because the column name is =3D
the
same name as the column type
=3D20
SQL> create table t ("DATE" date) ;
Table cr=3DE9=3DE9e.
SQL> create trigger tr before update on t
2 for each row
3 begin
4   null ;
5 end ;
create trigger tr before update on t
                      *
ERREUR =3DE0 la ligne 1 :
ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-320: the declaration of the type of this expression is
incomplete or malformed
=3D20
but I am able to create a trigger on this table (column name is not the =3D
same
as the column datatype)
=3D20
SQL> create table t ("DATE" number) ;
Table cr=3DE9=3DE9e.
SQL> create trigger tr before update on t
2 for each row
3 begin
4   null ;
5 end ;
6 /
D=3DE9clencheur cr=3DE9=3DE9.
=3D20
Any ideas for a clever work-around? I can't change the column name =3D
because
the table was created by a third-party ERP application.
=3D20
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request@(protected)
'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
-----------------------------------------------------------------



----------------------------------------------------------------
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
-----------------------------------------------------------------