开发者

how to reset auto increment field in ms access [duplicate]

开发者 https://www.devze.com 2023-02-06 09:40 出处:网络
This question already has answers here: Closed 12 years ago. Possible D开发者_高级运维uplicate: how to start counting from 1 after erase table in access ?
This question already has answers here: Closed 12 years ago.

Possible D开发者_高级运维uplicate:

how to start counting from 1 after erase table in access ?

Hi all

What will be the query to reset auti_increment field in MS Access Database?


You need to run "Compact and Repair Database"


You can find this information easily using Google, here's a link to the MS support article which describes the process:

How to reset an AutoNumber field value in Access

I haven't reproduced the info here as it's lengthy. There does not appear to be a magic, single, command to reset the counter.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号