Relationship:
FK_Customer_SalesTerritory_TerritoryID
on
Customer
Name | Value |
Not For Replication |
Customer column | SalesTerritory column | Type |
TerritoryID | TerritoryID | int |
Name | Value |
MS_Description | Foreign key constraint referencing SalesTerritory.TerritoryID. |
ALTER TABLE [Sales].[Customer] WITH CHECK ADD CONSTRAINT [FK_Customer_SalesTerritory_TerritoryID] FOREIGN KEY ([TerritoryID]) REFERENCES [Sales].[SalesTerritory] ([TerritoryID]) ALTER TABLE [Sales].[Customer] CHECK CONSTRAINT [FK_Customer_SalesTerritory_TerritoryID] GO EXEC sp_addextendedproperty N'MS_Description', N'Foreign key constraint referencing SalesTerritory.TerritoryID.', 'SCHEMA', N'Sales', 'TABLE', N'Customer', 'CONSTRAINT', N'FK_Customer_SalesTerritory_TerritoryID' GO |