| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Distributed key constraints
Mark D Powell wrote:
[...]
> Oracle definitely does not. You have to use a table
> trigger to enforce integrity between tables in distributed databases.
> I do not ever remember dealing with a FK to a remote object with DB2
or
> SQL Server either but my experience with those products in not as
deep.
>
Neither does DB2. You can specify a f.k. towards a nickname (table in another db), but you cannot have it enforced. Excerpt from the manual:
"The constraint is enforced by the database manager. ENFORCED cannot be specified for a functional dependency (SQLSTATE 42621). ENFORCED cannot be specified when a referential constraint refers to a nickname (SQLSTATE 428G7)." /Lennart Received on Wed Apr 27 2005 - 15:17:01 CDT
![]() |
![]() |