mysql添加索引

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是需要添加索引的字段名稱;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章