create table TblScore
(
tScoreld int identity(1,1) primary key,
tSld int,
tEnglish nvarchar(10),
tMath nvarchar(10)
)
go
create table Tbltedcher
(
tTld int identity(1,1) primary key,
tTName varchar(10)
)
go
SET IDENTITY_INSERT tbltedcher on
insert into Tbltedcher(tTName)
values ('张')
GO
select * from TblScore
其中,
SET IDENTITY_INSERT tbltedcher on
insert into Tbltedcher(tTName)
values ('张')
GO
当 IDENTITY_INSERT 设置为 ON 或某个复制用户向 NOT FOR REPLICATION 标识列中插入内容时,必须为表 'Tbltedcher' 中的标识列指定显式值。
怎么解决