insert with special ID

set   IDENTITY_INSERT   OutDetails   on
 insert OutDetails(Outid, Goodsid, OutDepot, Amount, OutPrice) values(2, 39, 2, 1, 1.00)

原文地址:https://www.cnblogs.com/greencolor/p/1735731.html