共享学习心得

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::
用户表的个数
select  count(*)  from sysobjects where type = 'U'

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

存储过程的个数
select  count(*)  from sysobjects where type = 'P'

视图的个数
select  count(*)  from sysobjects where type = 'V'

建立一个数据库test_qa,在数据库设备test_qa_data上分配50M的数据空间,在数据库设备test_qa_log 上分配5M日志空间
create database test_qa on test_qa_data =50
 log on test_qa_log =5



posted on 2006-11-28 18:56  神秘狭  阅读(445)  评论(0)    收藏  举报