sqlserver 查询数据库中用户表的数量

下面的语句可以查询出sqlserver 数据库中用户建立的表的数量

sel ect count(1) from sys.tables


也可以使用这个语句:

selec t count(*)  from sysobjects where xType = |acute;U|acute;