会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
kabibo
博客园
首页
新随笔
联系
订阅
管理
2017年8月10日
mysql创建唯一索引
摘要: 查看索引 show index from 数据库表名 alter table 数据库add index 索引名称(数据库字段名称) PRIMARY KEY(主键索引) ALTER TABLE `table_name` ADD PRIMARY KEY ( `column` ) UNIQUE(唯一索引)
阅读全文
posted @ 2017-08-10 16:56 kabibo
阅读(33123)
评论(0)
推荐(2)
编辑
公告