Name |
Value |
Not For Replication |
|
BillOfMaterials column |
Product column |
Type |
ComponentID |
ProductID |
int |
Name |
Value |
MS_Description |
Foreign key constraint referencing Product.ComponentID. |
/ -->
ALTER TABLE [Production].[BillOfMaterials]
WITH CHECK
ADD CONSTRAINT [FK_BillOfMaterials_Product_ComponentID]
FOREIGN KEY ([ComponentID]) REFERENCES [Production].[Product] ([ProductID])
ALTER TABLE [Production].[BillOfMaterials]
CHECK CONSTRAINT [FK_BillOfMaterials_Product_ComponentID]
GO
EXEC sp_addextendedproperty N'MS_Description', N'Foreign key constraint referencing Product.ComponentID.', 'SCHEMA', N'Production', 'TABLE', N'BillOfMaterials', 'CONSTRAINT', N'FK_BillOfMaterials_Product_ComponentID'
GO
|