首页 > 学院 > 开发设计 > 正文

mysql添加索引

2019-11-08 20:56:28
字体:
来源:转载
供稿:网友
ALTER TABLE `dbn_organization_relation_v` ADD INDEX cust_organization_id_index ( `cust_organization_id` );

其中dbn_organization_relation_v 是表名,cust_organization_id_index 是索引名称,cust_organization_id是需要添加索引的字段名称;


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表