Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Foreign Key

Author  Topic 

yakoo
Constraint Violating Yak Guru

312 Posts

Posted - 2002-01-30 : 15:40:35
Is there a way to create a Foreign Key on a table that references a table in a different database. This different database could be on a linked server or the same server?

byrmol
Shed Building SQL Farmer

1591 Posts

Posted - 2002-01-30 : 16:59:36
Yakoo,

There is no way to create a Foriegn Key across databases...

A trigger will do the job....badly

DavidM

Tomorrow is the same day as Today was the day before.
Go to Top of Page
   

- Advertisement -