数据库

查询数据库db1中所有的用户表
use db1
go
select * from sysobjects where type = 'U'

系统表的个数
select count(*) from sysobjects where type = 'S'

存储过程:type = 'P'

视图: type = 'V'
posted @ 2009-11-10 14:15  rourke  阅读(153)  评论(0编辑  收藏  举报