 GO --添加 客户测试 外键
 ALTER TABLE [CustomerCustomerDemo]  WITH CHECK ADD  CONSTRAINT [FK_CustomerCustomerDemo_Customers] FOREIGN KEY([CustomerID])
		REFERENCES [Customers] ([CustomerID]) 
 GO --约束检查
 ALTER TABLE [CustomerCustomerDemo] CHECK CONSTRAINT [FK_CustomerCustomerDemo_Customers] 
 

 GO --添加 客户测试 外键
 ALTER TABLE [CustomerCustomerDemo]  WITH CHECK ADD  CONSTRAINT [FK_CustomerCustomerDemo_CustomerDemographics] FOREIGN KEY([CustomerTypeID])
		REFERENCES [CustomerDemographics] ([CustomerTypeID]) 
 GO --约束检查
 ALTER TABLE [CustomerCustomerDemo] CHECK CONSTRAINT [FK_CustomerCustomerDemo_CustomerDemographics] 
 

