2010年2月6日
摘要: [代码] 阅读全文
posted @ 2010-02-06 13:18 奥尔格勒 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 有2种方法方法1: truncate table 你的表名 --這樣不但將數據刪除,而且可以重新置位identity屬性的字段。 方法2: delete from 你的表名 dbcc checkident(你的表名,reseed,0) --重新置位identity屬性的字段,讓其下個值從1開始。 阅读全文
posted @ 2010-02-06 13:13 奥尔格勒 阅读(459) 评论(0) 推荐(0) 编辑