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