Red Gate forums :: View topic - cross schema foreign keys missing required priv
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Schema Compare for Oracle
Schema Compare for Oracle forum

cross schema foreign keys missing required priv

Search in Schema Compare for Oracle forum
Post new topic   Reply to topic
Jump to:  
Author Message
ClaireHannon



Joined: 30 Jul 2013
Posts: 1

PostPosted: Tue Jul 30, 2013 5:28 pm    Post subject: cross schema foreign keys missing required priv Reply with quote

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?
Back to top
View user's profile Send private message
eddie davis



Joined: 14 Jun 2006
Posts: 940
Location: Red Gate Software

PostPosted: Wed Jul 31, 2013 11:21 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group