MYSQL 查看表上索引的 1 方法
生活随笔
收集整理的這篇文章主要介紹了
MYSQL 查看表上索引的 1 方法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
前期準備:
? ? ? ? ? ? create table T9(A int ,B text,C text,fulltext index fix_test_for_T8_B(B));#在定義表的時候加索引
? ? ? ? ? ? create unique index ix_test_for_T8_A on T9(A);#加樸素索引
? ? ? ? ? ? create fulltext index fix_test_for_T8_C on T9(C);#加全文索引
------------------------------------------------------------
解決辦法:
? ? ? ? ? ? select index from table_name。
-------------------------------------------------------------------------------------------------------------------------------------------
select index from T9;
轉載于:https://www.cnblogs.com/JiangLe/p/4032876.html
總結
以上是生活随笔為你收集整理的MYSQL 查看表上索引的 1 方法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 网页版扫雷(HTML/CSS/JS实践)
- 下一篇: php查询mysql返回大量数据结果集导