查询sqlserver库中所有表数量

 

use 库名         

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

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