access 不支持 truncate table test
使用如下解决,两句
delete * from test
ALTER TABLE test ALTER COLUMN ID COUNTER (1,1)
alter table 表名 alter COLUMN 字段名 counter(1,1)
这句就是在清空表后,重建标识列,这里的参数1,1表示从1开始,每次加1
access 不支持 truncate table test
使用如下解决,两句
delete * from test
ALTER TABLE test ALTER COLUMN ID COUNTER (1,1)
alter table 表名 alter COLUMN 字段名 counter(1,1)
这句就是在清空表后,重建标识列,这里的参数1,1表示从1开始,每次加1