- CREATE TABLE [dbo].[T4]
- (
- [col_1] NVARCHAR(10) NOT NULL,
- [col_2] NVARCHAR(10) NOT NULL,
- [col_3] NVARCHAR(10) NULL,
- [col_4] NVARCHAR(10) NULL
- )
- GO
-
- ALTER TABLE [dbo].[T4]
- ADD CONSTRAINT [FK__T4__0000000000000004]
- FOREIGN KEY([col_1],[col_2])
- REFERENCES [dbo].[T3]([col1],[col2])
- GO