Home > Database > Mysql Tutorial > body text

Access清空表后让编号复位

WBOY
Release: 2016-06-07 17:59:40
Original
1314 people have browsed it

当数据库中删除一些项后,自动编号行的编号是不会变的,所以只有对它进行压缩才可以.二楼说的是一种方法,还有就是:工具--选项--常规标签页下关闭时压缩,前面的方框打上勾就行了,关闭再打开后自动编号就会重新排序.但要实现清空数据库那就要用代码或查询实现了,

当数据库中删除一些项后,自动编号行的编号是不会变的,所以只有对它进行压缩才可以.二楼说的是一种方法,还有就是:工具--选项--常规标签页下关闭时压缩,前面的方框打上勾就行了,关闭再打开后自动编号就会重新排序.但要实现清空数据库那就要用代码或查询实现了,要不就只能手动的清空.
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!