摘要:
identity(1,1)是指每插入一条语句时这个字段的值增1,(不能插入) identity primary key是指个主键,表示唯一的意思,(也不能插入),也是自增 两者基本上是沒有什么分別的, 最大的区別是: 系统默认identity primary key会为主键加上索引 就是說,建立identity prmary key 系统會加上索引,而identity不会 阅读全文
posted @ 2010-05-14 19:29
greencolor
阅读(239)
评论(0)
推荐(1)
摘要:
set IDENTITY_INSERT OutDetails oninsert OutDetails(Outid, Goodsid, OutDepot, Amount, OutPrice) values(2, 39, 2, 1, 1.00) 阅读全文
posted @ 2010-05-14 19:28
greencolor
阅读(129)
评论(0)
推荐(1)
浙公网安备 33010602011771号