sql server 2005 统计数据库中用户表总数

select count(*) from sysobjects where type='u' and status>=0
posted @ 2008-01-08 14:02  Fernando  阅读(351)  评论(0编辑  收藏  举报