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