统计一个数据库中表的个数

SELECT count(*) FROM sysobjects WHERE XTYPE='u'

原文地址:https://www.cnblogs.com/lijIT/p/4179391.html