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