作者:嫣嫣细语dingdingjq | 来源:互联网 | 2018-04-13 14:36
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