Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.oracle -> Re: Creating foreign keys across different tablespace

Re: Creating foreign keys across different tablespace

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 5 Mar 2004 06:59:26 -0800
Message-ID: <2687bb95.0403050659.77f48b26@posting.google.com>

ahk_at_writeme.com (ahk) wrote in message news:<eb02dbae.0403042356.70ae910d_at_posting.google.com>...
> Hi,
>
> As above.
> The error I got is "ORA-00942: table or view does not exist". Any ideas?
> TIA.
Yes, either you got the table name wrong in your code, or you do not have the REFERENCES privilege on the referenced table.

Oracle does not care what tablespace the referenced table is in as long as it is local to the database and not remote (distributed table).

HTH -- Mark D Powell -- Received on Fri Mar 05 2004 - 08:59:26 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US