SQL查询数据库中所有表名

SELECT
	table_name,table_type,table_schema
FROM
	information_schema.TABLES 
WHERE
	table_schema = 'security_domain' 
	AND table_type = 'BASE TABLE';

  NOTE:

      This sql only query tables under database security_domain

posted on 2020-10-28 15:11  滚动的蛋  阅读(1455)  评论(0编辑  收藏  举报

导航