Groups | Blog | Home
all groups > sql server programming > april 2004 >

sql server programming : Relationships in Foreign Tables


Grant Case
4/15/2004 7:08:19 PM
Gordon,

FKs only work within the database in which your trying to define the
relationship. If you need to keep consistency across databases you have to
roll your own with triggers that query information across databases.

HTH,
Grant

[quoted text, click to view]

Gordon Wallace
4/15/2004 11:19:51 PM
Hi all,

I am trying to create a relationship with a table in another database, but
none of the existing mechanisms(data diagrams, etc) seem to let me.

Any ideas?:?

Thanks,

Gordon

AddThis Social Bookmark Button