create table your_table_new
select (除ID外的说有值段)
from your_table
where 0=1
alter table your_table_new add ID int identity
set identity_insert your_table_new on
insert into your_table_new (ID,....)
select ID,.....
from Your_table
set identity_insert your_table_new off
drop table your_table
sp_rename your_table_new,your_table
下面检索应什么的.....