insert语句问题
create table tt(
id int primary key identity(1,1),
pdate datetime,
);
我创建一个表tt如上,id列为递增列.
现在我想插入,为什么不能呢?
insert into ttvalues (null, getDate());
怎么提示:仅当使用了列的列表,并且 IDENTITY_INSERT 为 ON 时,才能在表 'tt' 中为标识列指定显式值。
2008-11-16 12:06
2008-11-16 20:14
2008-11-17 14:22
2008-11-17 15:52
2008-11-18 11:42