![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
From: ulf.akerberg (AT) gmail (DOT) com Subject: Foreign keys referring table in other database Date: Thu, 6 May 2010 03:54:00 -0700 To: informix-list (AT) iiug (DOT) org Hi ! IDS 11.50.FC6 I need to set up constraints between tables in different databases. According to the documentation the tables used in a foreign key definition must be in the same database. I have also tried to use synonyms and views thar refers the table in the other databas but no success. One idea is to use ER to replicate the tables in question, another would be to write triggers that does a check against synonyms. Any other ideas anybody ? TIA Ulf _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#3
| |||
| |||
|
| Hi ! IDS 11.50.FC6 I need to set up constraints between tables in different databases. According to the documentation the tables used in a foreign key definition must be in the same database. I have also tried to use synonyms and views thar refers the table in the other databas but no success. One idea is to use ER to replicate the tables in question, another would be to write triggers that does a check against synonyms. Any other ideas anybody ? TIA Ulf _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
![]() |
| Thread Tools | |
| Display Modes | |
| |