1、查询数据库中所有用户表名;用户表总数。

select name from dbo.sysobjects where OBJECTPROPERTY(id,N'IsUserTable')=1

select COUNT(name) from dbo.sysobjects where OBJECTPROPERTY(id,N'IsUserTable')=1

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
  • 2021-08-29
  • 2022-02-08
  • 2022-02-09
  • 2022-01-28
  • 2022-12-23
猜你喜欢
  • 2021-11-27
  • 2021-06-22
  • 2022-02-03
  • 2021-10-09
相关资源
相似解决方案