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: Foreign Key to table in other schema?

Re: Foreign Key to table in other schema?

From: Martijn Tonies <m.tonies_at_upscene-removethis.nospam.com>
Date: Thu, 25 Aug 2005 10:22:31 +0200
Message-ID: <11gqvu3qi5jrn71@corp.supernews.com>


Hello Mark,

> Martijn, you can find information of the References privilege that
> Daniel pointed out in the Concepts manual chapter on constraints and in
> the SQL manual.
>
> The References privilege allows user B to impose a restriction on the
> table owner, A, and is required for B to be able to stop user A from
> deleting rows from their own table. So user A must grant references to
> user B.

Right... It indeed seems to be that when SYSTEM grants REFERENCES to "scott" on "northwind.parent", it doesn't work, but when NORTHWIND does, it works alright... Nasty, I didn't know that :-)

I figured: a privilege granted is a privilege granted... Got some reading to do :-)

-- 
With regards,

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
Received on Thu Aug 25 2005 - 03:22:31 CDT

Original text of this message

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