会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一只虫
python
CnBlogs
Home
New Post
Contact
Admin
Subscription
2018年7月9日
mysql主键ID重新排序
对数据表操作之前备份一下是个好习惯 1.备份表结构 create table 备份表名 like 表名; 2.备份表数据 insert into 备份表名 select * from 表名; 3.删除原来主键字段(如id) alter table 表名 drop id; 4.添加主键,自增,放在第一
Read More
posted @ 2018-07-09 11:17 一只虫
Views(2659)
Comments(0)
Diggs(0)
公告