MySQL查看所有视图的命令

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

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

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

 

show table status where comment='view';

 

posted @ 2014-11-13 11:13  一菲聪天  阅读(22419)  评论(0编辑  收藏  举报