查询sqlserver库中所有表数量

 

use 库名         

go
select COUNT(*) from sysobjects where xtype='U'

posted @ 2021-04-25 10:27  岳凯歌  阅读(742)  评论(0编辑  收藏  举报