显示一个表所有索引的SQL语句是:
show index from 数据库名.表名
查看某表某一列上的索引使用下面的SQL语句:
show index from 数据库名.表名 where column_name like '列名'
下面的SQL语句在我的数据库上执行成功:
show index from web.clubuser where column_name like 'user'。
欢迎分享,转载请注明来源:内存溢出
显示一个表所有索引的SQL语句是:
show index from 数据库名.表名
查看某表某一列上的索引使用下面的SQL语句:
show index from 数据库名.表名 where column_name like '列名'
下面的SQL语句在我的数据库上执行成功:
show index from web.clubuser where column_name like 'user'。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)