mysql查看某个数据库下的所有视图

时间:2020-07-10 00:48:12   收藏:0   阅读:170
select TABLE_SCHEMA , TABLE_NAME from information_schema.TABLES where table_type=view and TABLE_SCHEMA =yw_plm;

【说明】

  1. yw_plm是你的数据库名称;
  2. view说明是要查看所有的视图类型;

原文:https://www.cnblogs.com/lishidefengchen/p/13276940.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!