Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Foreign Key to table in other schema?
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.comReceived on Thu Aug 25 2005 - 03:22:31 CDT
![]() |
![]() |