不知道有比较好的方法没,这样也可以:
create table tmp select * from test1 where id='0002';
alter table tmp drop column id;
insert into test1 select '0004',tmp.* from tmp;
drop table tmp;

解决方案 »

  1.   

    insert into table1 select 0004,Name,Age,Sex  from table1
      

  2.   

    insert into table_name select '0004',Name,Age,Sex,,, from table_name where id='0002'; 以后插入其它的数据,只需更改'0004'和'0002'的值就行了。
      

  3.   

    把ID字段改成自动增量字段,如果要增加的记录数不太多,你就在企业管理器里打开表,选中第二条记录,按CTRl+C,再按N次CTRl+V吧。如果多,你就删除掉ID字段,然后
    for i=1 to n
    insert table1 select * from table1 where name='john'最后再点上ID字段,还是设成自动增量字段(标识=True)