Hi,
I'm trying to implement an FK constraint to a linked server table.
I have tried using the dot prefix notation, but I keep getting...
So I created a View of the linked table, but it doesn't like that either whether I try to use the GUI to create the FK or DDL.
Is it possible?
The only thing I can think of now to implement the referential integrity is by adding a check constraint that does a lookup against the linked server / table for a valid record.
Is this the correct way of adding referential integrity across linked servers?
Your input is appreciated.
1DMF.
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
I'm trying to implement an FK constraint to a linked server table.
I have tried using the dot prefix notation, but I keep getting...
Foreign key 'FK_Is_Novated' references invalid table 'SERVER.DATABASE.dbo.TABLE'
So I created a View of the linked table, but it doesn't like that either whether I try to use the GUI to create the FK or DDL.
Is it possible?
The only thing I can think of now to implement the referential integrity is by adding a check constraint that does a lookup against the linked server / table for a valid record.
Is this the correct way of adding referential integrity across linked servers?
Your input is appreciated.
1DMF.
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music