首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

仅当应用了列的列表 并且 identity_insert 为 on 时 才能在表 中为标识列指定显式值

2012-08-03 
仅当使用了列的列表 并且 identity_insert 为 on 时 才能在表 中为标识列指定显式值。SET IDENTITY_INSERT

仅当使用了列的列表 并且 identity_insert 为 on 时 才能在表 中为标识列指定显式值。

SET IDENTITY_INSERT products2 ON
INSERT INTO products2???? (id, product)???? SELECT * FROM products

热点排行