Please try this select table_name, constraint_name from all_constraints where r_constraint_name in ( select constraint_name from all_constraints where table_name = 'MEDIUMS')
it should give you the table_name constraint names that are not allowing you to drop your table. You will have to disable these constraints before dropping your table mediums. Mohammed Shakir --- Jeroen van Sluisdam <[EMAIL PROTECTED]> wrote: > Hi, > > I have a serious problem in dropping a snapshot/mview > I cannot find whatever constraint is blocking this. > Any advice is appreciated > > SQL> drop snapshot deca.mediums; > drop snapshot deca.mediums > * > ERROR at line 1: > ORA-02449: unique/primary keys in table referenced by foreign keys > > > SQL> drop materialized view deca.mediums; > drop materialized view deca.mediums > * > ERROR at line 1: > ORA-02449: unique/primary keys in table referenced by foreign keys > > SQL> SELECT * FROM dba_constraints where table_name = 'MEDIUMS'; > > no rows selected > > I get the samen results when dropping as owner and as sys > > Details: Oracle 9.2.0.4 HP-UX11.11 > > Tnx, > > Jeroen > ===== Mohammed Shakir CompuSoft, Inc. 11 Heather Way East Brunswick, NJ 08816-2825 (732) 672-0464 (Cell) (732) 257-6001 (Home) __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mohammed Shakir INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).