SQL Server Copy Rows Including Foreign Key References

后端 未结 0 1832
野趣味
野趣味 2021-01-23 06:50

I have the following:

CREATE TABLE Parent 
(
    Id int IDENTITY(1,1) NOT NULL,
    OwnerId int NOT NULL,
    Name varchar(50) NULL
)

CREATE TABLE Child 
(
    I         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题