MySQL查看所有视图的命令

时间:2014-11-13 12:34:15   收藏:0   阅读:314

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

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

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

 

show table status where comment=‘view‘;

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!