DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Foreign Key References privilege.

  1. #1
    Join Date
    Feb 2004
    Posts
    14

    Foreign Key References privilege.

    I am working with an Oracle 8.1.7 database, and am trying to create foreign keys where the master tables are held in a different schema to the child tables. I understand that the REFERENCES object privilege must be granted to the schema of the child table for each parent table. However, I was wondering if there is a way to grant references on a schema rather that each individual table. Otherwise I have to keep track of individual references grants on each table. Does anyone know of a way of doing this?

    Many thanks,
    Brendan.

  2. #2
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    Grant to a role then grant that role to any user who needs to references the table. With roles it's much easier to manage privileges in a multi schema environment

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width