Name |
Value |
Not For Replication |
|
Document column |
Employee column |
Type |
Owner |
BusinessEntityID |
int |
Name |
Value |
MS_Description |
Foreign key constraint referencing Employee.BusinessEntityID. |
/ -->
ALTER TABLE [Production].[Document]
WITH CHECK
ADD CONSTRAINT [FK_Document_Employee_Owner]
FOREIGN KEY ([Owner]) REFERENCES [HumanResources].[Employee] ([BusinessEntityID])
ALTER TABLE [Production].[Document]
CHECK CONSTRAINT [FK_Document_Employee_Owner]
GO
EXEC sp_addextendedproperty N'MS_Description', N'Foreign key constraint referencing Employee.BusinessEntityID.', 'SCHEMA', N'Production', 'TABLE', N'Document', 'CONSTRAINT', N'FK_Document_Employee_Owner'
GO
|