cross schema foreign keys missing required priv

Compares and synchronizes the schemas of Oracle databases

Moderators: eddie davis, richardjm, Michael Christofides, neil.anderson

cross schema foreign keys missing required priv

Postby ClaireHannon » Tue Jul 30, 2013 5:28 pm

We are creating a table using schema compare for Oracle which has a foreign key in another schema.
the toolkit is clever enough to order the tables so that the referenced table has already been created successfully.
Unfortunately the table with the foreign key <you> fails to be created with the error 'ORA-01031: insufficient privileges'

Near the end of the script we can find the grant needed
GRANT REFERENCES ON <me> TO <you>;

if I grant that then the table creates successfully.

I am doing a big deployment script. Is there a workaround I am missing or will I have to stop whenever this happens and do the grants myself?
ClaireHannon
 
Posts: 1
Joined: Tue Jul 30, 2013 4:59 pm

Postby eddie davis » Wed Jul 31, 2013 11:21 am

Hi Claire

Thank you for your forum post and sorry that you have encountered a problem.

I believe that you are already in contact with the Oracle Team via e-mail. This issue is being investigated and the Oracle Team hope to get a fix or patch out to you soon. Sadly I do not have an ETA as to when a patch will become available. I will update this forum topic when I receive further information.

Many Thanks
Eddie
Eddie Davis
Technical Support Engineer
Red Gate Software Ltd
E-mail: support@red-gate.com
eddie davis
 
Posts: 943
Joined: Wed Jun 14, 2006 3:47 pm
Location: Red Gate Software


Return to Schema Compare for Oracle

Who is online

Users browsing this forum: No registered users and 1 guest