I have a problem..
I need to define foreign keys between federated tables, and I cant do it.. I have two tables...
CREATE TABLE Tarifa(
[cp_id] [int] NOT NULL,
[id] [uniqueidentifier] NOT NULL,
[nombre] [varchar](200) NOT NULL,
[comision] [decimal](18, 2) NULL,
[markUp] [decimal](18, 2) NULL,
PRIMARY KEY (id,cp_id)
) FEDERATED ON (cp_id=cp_id)
CREATE TABLE Periodo(
[cp_id] [int] NOT NULL,
[id] [uniqueidentifier] NOT NULL,
[tarId] [int] NOT NULL,
[precio] [decimal](18, 2) NULL,
PRIMARY KEY (id,cp_id)
) FEDERATED ON (cp_id=cp_id)
I want to reference the field tarId in Periodo to Tarifa. is It possible?