Insert an auto-incremented primary key into an Access table

北城以北 提交于 2019-12-08 17:36:10

问题


We have a giant table in an Access database with over 500k records and no PK. Is it possible to insert an auto-incrementing primary key column into an already existing Access table?


回答1:


Yes, it is and can be done quite simply by editing the table and adding an autoincrement type field. The only rule is that you can only have one autoincrement per table.



来源:https://stackoverflow.com/questions/12609621/insert-an-auto-incremented-primary-key-into-an-access-table

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!