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

Home -> Community -> Usenet -> c.d.o.server -> Re: Referencing SYS.DBA_USERS ???

Re: Referencing SYS.DBA_USERS ???

From: Serge <rulsl_at_chat.ru>
Date: Tue, 23 Feb 1999 21:23:27 +0300
Message-ID: <7aurn1$ijl$1@news2.aha.ru>


DBA_USERS is view and you cannot reference on it. Try to reference on SYS.USER$ table, but it
contains a lot of low-level information. See also description of DBA_USERS view.

news.logica.com wrote <7au6ud$i4c_at_romeo.logica.co.uk> ...
>Hi,
>
>The following script
>
>create table test_user_ref (name varchar2(30),
> userid_ref number,
> constraint fk_userid
> foreign key (userid_ref)
> references SYS.DBA_USERS
>(USER_ID));
>results in:
>
>ERROR at line 5:
>ORA-02444: Cannot resolve referenced object in referential constraints
>
>Does anybody have a workaround for this problem?
>
>Thanx,
>
>Jeroen
>
>
Received on Tue Feb 23 1999 - 12:23:27 CST

Original text of this message

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