close
mysql下,如果判斷某個表的某個索引是否存在
1.show index from table;
2. select index_name into @in_name from information_schema.statistics where table_name='表名' and
index_name='索引名'
全站熱搜
mysql下,如果判斷某個表的某個索引是否存在
1.show index from table;
2. select index_name into @in_name from information_schema.statistics where table_name='表名' and
index_name='索引名'
留言列表