How do I put a referential integrity constraint on a table, with the reference being to a key on a table in another schema?<br>
I tried using views but it dosn't allow me to do this as it says it can't resolve the object.<br>
<br>
james
First, you need to either create a synonym for the table or fully qualify the table name with the schema.table_name.<br>
Secondly, you need "REFERENCES" privileges on the table.
I forgot the references privilige. I have a public synonym on a view that I want to reference so I had remembered that.<br>
<br>
Thanks for your help,<br>
<br>
James
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.