将自动递增的主键插入到Access表中

编程入门 行业动态 更新时间:2024-10-25 11:33:24
本文介绍了将自动递增的主键插入到Access表中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们在Access数据库中有一个巨大的表,其中有超过50万条记录,没有PK.是否可以将自动递增的主键列插入到已经存在的Access表中?

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?

推荐答案

是的,可以并且很容易地通过编辑表并添加自动增量类型字段来完成.唯一的规则是每个表只能有一个自动增量.

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.

更多推荐

将自动递增的主键插入到Access表中

本文发布于:2023-10-16 16:02:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1498054.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:主键   Access

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!