 GO --添加 雇员领域 外键
 ALTER TABLE [EmployeeTerritories]  WITH CHECK ADD  CONSTRAINT [FK_EmployeeTerritories_Employees] FOREIGN KEY([EmployeeID])
		REFERENCES [Employees] ([EmployeeID]) 
 GO --约束检查
 ALTER TABLE [EmployeeTerritories] CHECK CONSTRAINT [FK_EmployeeTerritories_Employees] 
 

 GO --添加 雇员领域 外键
 ALTER TABLE [EmployeeTerritories]  WITH CHECK ADD  CONSTRAINT [FK_EmployeeTerritories_Territories] FOREIGN KEY([TerritoryID])
		REFERENCES [Territories] ([TerritoryID]) 
 GO --约束检查
 ALTER TABLE [EmployeeTerritories] CHECK CONSTRAINT [FK_EmployeeTerritories_Territories] 
 

