ALTER TABLE dbo.MyTable WITH CHECK ADD CONSTRAINT FK_MyTable_MyColumn FOREIGN KEY(MyColumn) REFERENCES dbo.MyOtherTable (MyOtherColumn)
No comments:
Post a Comment