欧热游戏网
您的当前位置:首页SqlServer/MySql查询某个数据库中表的数量_MySQL

SqlServer/MySql查询某个数据库中表的数量_MySQL

来源:欧热游戏网


bitsCN.com

SqlServer/MySql查询某个数据库中表的数量

MySql的统计方法

SELECT count( * ) FROM information_schema.tables WHERE TABLE_SCHEMA = '库名'

SqlServer的统计方法

select count(*) as TableCount from sysobjects where type='u' and status>=0


bitsCN.com
显示全文