Relationship:
FK_Password_Person_BusinessEntityID
on
Password
Relationship properties
| Name | Value |
| Not For Replication |
FK columns
| Password column | Person column | Type |
| BusinessEntityID | BusinessEntityID | int |
Extended properties
| Name | Value |
| MS_Description | Foreign key constraint referencing Person.BusinessEntityID. |
SQL
ALTER TABLE [Person].[Password] WITH CHECK ADD CONSTRAINT [FK_Password_Person_BusinessEntityID] FOREIGN KEY ([BusinessEntityID]) REFERENCES [Person].[Person] ([BusinessEntityID]) ALTER TABLE [Person].[Password] CHECK CONSTRAINT [FK_Password_Person_BusinessEntityID] GO EXEC sp_addextendedproperty N'MS_Description', N'Foreign key constraint referencing Person.BusinessEntityID.', 'SCHEMA', N'Person', 'TABLE', N'Password', 'CONSTRAINT', N'FK_Password_Person_BusinessEntityID' GO |
See also