您的位置:首页 > 数据库

查询数据库中有多少表、视图、存储过程

2020-02-03 04:33 701 查看
sql server:
表: select count(1) from sysobjects where xtype='U' 
视图: select count(1) from sysobjects where xtype='V'
存储过程: select count(1) from sysobjects where xtype='P'

转载于:https://www.cnblogs.com/Mander/p/3620893.html

  • 点赞
  • 收藏
  • 分享
  • 文章举报
baibi1772 发布了0 篇原创文章 · 获赞 0 · 访问量 107 私信 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐