您的位置:首页 > 博客中心 > 数据库 >

MySQL查看所有视图的命令

时间:2022-03-14 02:25

有时为了查看特定数据库中所建立的所有视图,可以使用这个命令:

  因为,视图其实就是一张虚拟的表,所有也可以认为是一张表,所有是 show table,

而它由于普通的表有所不同,所以有 status   where comment=‘view‘;

 

show table status where comment=‘view‘;

热门排行

今日推荐

热门手游