Links
Home
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
Help with sql identifying dup constraints

Help with sql identifying dup constraints

2004-06-10       - By Duret, Kathy

Reply:     1     2     3     4     5     6     7     8     9     10     >>  

well, you can, at least in 8.1.4

When I came here I found up to 10 not null constraints on the same columns.


Got them all off and found some again.... seemed the other choke ... dba....
didn 't understand that not null was a check constraints and for some reason
kept putting them on ... I think via Toad (I never get a straight answer
from him) Then we I showed him on some new tables he created all the dups,
instead of deleted them, he disabled them all.....

gotta love it. if there is a way in Oracle someone can use and abuse it!

Kathy


-- --Original Message-- --
From: Jacques Kilchoer [mailto:Jacques.Kilchoer@(protected)]
Sent: Wednesday, June 09, 2004 5:23 PM
To: oracle-l@(protected)
Cc: Barbara Baker
Subject: RE: Help with sql identifying dup constraints



Well, you can 't have two "not null " constraints on a column (see example
below showing the error) as far as I know.





This transmission contains information solely for intended recipient and may
be privileged, confidential and/or otherwise protect from disclosure. If
you are not the intended recipient, please contact the sender and delete all
copies of this transmission. This message and/or the materials contained
herein are not an offer to sell, or a solicitation of an offer to buy, any
securities or other instruments. The information has been obtained or
derived from sources believed by us to be reliable, but we do not represent
that it is accurate or complete. Any opinions or estimates contained in
this information constitute our judgment as of this date and are subject to
change without notice. Any information you share with us will be used in
the operation of our business, and we do not request and do not want any
material, nonpublic information. Absent an express prior written agreement,
we are not agreeing to treat any information confidentially and will use any
and all information and reserve the right to publish or disclose any
information you share with us.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN " >
<HTML > <HEAD >
<META HTTP-EQUIV= "Content-Type " CONTENT= "text/html; charset=iso-8859-1 " >
<TITLE > </TITLE >

<META content= "MSHTML 6.00.2800.1400 " name=GENERATOR > </HEAD >
<BODY >
<DIV > <SPAN class=901131513-10062004 > <FONT face=Arial color=#0000ff size=2 >well,
you can, at least in 8.1.4 </FONT > </SPAN > </DIV >
<DIV > <SPAN class=901131513-10062004 > <FONT face=Arial color=#0000ff
size=2 > </FONT > </SPAN >  </DIV >
<DIV > <SPAN class=901131513-10062004 > <FONT face=Arial color=#0000ff size=2 >When I
came here I found up to 10 not null constraints on the same columns. 
</FONT > </SPAN > </DIV >
<DIV > <SPAN class=901131513-10062004 > <FONT face=Arial color=#0000ff
size=2 > </FONT > </SPAN >  </DIV >
<DIV > <SPAN class=901131513-10062004 > <FONT face=Arial color=#0000ff size=2 >Got
them all off and found some again.... seemed the other choke ... dba.... didn 't
understand that not null was a check constraints and for some reason kept
putting them on ... I think via Toad (I never get a straight answer from
him)  Then we I showed him on some new tables he created all the dups,
instead of deleted them, he disabled them all..... </FONT > </SPAN > </DIV >
<DIV > <SPAN class=901131513-10062004 > <FONT face=Arial color=#0000ff
size=2 > </FONT > </SPAN >  </DIV >
<DIV > <SPAN class=901131513-10062004 > </SPAN > <SPAN class=901131513-10062004 > <FONT
face=Arial color=#0000ff size=2 >gotta love it.  if there is a way in Oracle
someone can use and abuse it! </FONT > </SPAN > </DIV >
<DIV > <SPAN class=901131513-10062004 > <FONT face=Arial color=#0000ff
size=2 > </FONT > </SPAN >  </DIV >
<DIV > <SPAN class=901131513-10062004 > <FONT face=Arial color=#0000ff
size=2 >Kathy </FONT > </SPAN > </DIV >
<DIV > <SPAN class=901131513-10062004 > <FONT face=Arial color=#0000ff
size=2 > </FONT > </SPAN >  </DIV >
<BLOCKQUOTE dir=ltr style= "MARGIN-RIGHT: 0px " >
<DIV class=OutlookMessageHeader dir=ltr align=left > <FONT face=Tahoma
size=2 >-- --Original Message-- -- <BR > <B >From: </B > Jacques Kilchoer
[mailto:Jacques.Kilchoer@(protected)] <BR > <B >Sent: </B > Wednesday, June 09, 2004
5:23 PM <BR > <B >To: </B > oracle-l@(protected) <BR > <B >Cc: </B > Barbara
Baker <BR > <B >Subject: </B > RE: Help with sql identifying dup
constraints <BR > <BR > </FONT > </DIV > <!-- Converted from text/plain format -- >
<P > <FONT size=2 > <FONT face= "Courier New " >Well, you can 't have two "not null "
constraints on a column (see example below showing the error) as far as I
know. <BR > </FONT > </FONT > </P > </BLOCKQUOTE > </BODY > </HTML >
<BR >
<BR >
<BR >

<P > <FONT SIZE=2 FACE= "Arial " >This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us. </FONT > </P >