cross schema foreign keys missing required priv

Compares and synchronizes the schemas of Oracle databases

cross schema foreign keys missing required priv

Postby ClaireHannon » Tue Jul 30, 2013 4: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

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?
Posts: 1
Joined: Tue Jul 30, 2013 3:59 pm

Postby eddie davis » Wed Jul 31, 2013 10: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 Davis
Technical Support Engineer
Red Gate Software Ltd
eddie davis
Posts: 1148
Joined: Wed Jun 14, 2006 2:47 pm
Location: Red Gate Software

Return to Schema Compare for Oracle

Who is online

Users browsing this forum: No registered users and 0 guests