MySQL里Create Index 能否创建主键 Primary Key

很文博客hinven.com 数据库评论73字数 155阅读模式
广告也精彩

MySQLCreate Index 能否创建主键 Primary Key
MySQL里Create Index 能否创建主键 Primary Key?
答案:

不能,必须用 Alter table 创建。文章源自很文博客https://www.hinven.com很文博客-https://www.hinven.com/51795.html

MySQL一个索引列最大允许的有效长度,不是列的所有数据都被索引的文章源自很文博客https://www.hinven.com很文博客-https://www.hinven.com/51795.html

MyISAM 是 1000字节
InnoDB 是 767 字节文章源自很文博客https://www.hinven.com很文博客-https://www.hinven.com/51795.html

注意这里是字节。文章源自很文博客https://www.hinven.com很文博客-https://www.hinven.com/51795.html 文章源自很文博客https://www.hinven.com很文博客-https://www.hinven.com/51795.html

工具:作品在线观看

女优:最新作品观看

中文:国语在线观看

weinxin
我的微信
扫一扫更精彩
大家的支持是我更新的动力!!!
 
广告也精彩
匿名

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定

拖动滑块以完成验证