Options

cross schema foreign keys missing required priv

ClaireHannonClaireHannon Posts: 2
edited July 31, 2013 6:21AM in Schema Compare for Oracle
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?

Comments

  • Options
    Eddie DEddie D Posts: 1,781 Rose Gold 5
    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
    Senior Product Support Engineer
    Redgate Software Ltd
    Email: support@red-gate.com
Sign In or Register to comment.