您好,欢迎访问一九零五行业门户网

SQL Server枚举数据库中的空表

枚举数据库中没有记录的表。 无 with emptyrows as( select sum(row_count) as [totalrows], object_name(object_id) as tablename from sys.dm_db_partition_stats where index_id = 0 or index_id = 1 group by object_id)select * from emptyrowswhere [to
枚举数据库中没有记录的表。 with emptyrows as( select sum(row_count) as [totalrows], object_name(object_id) as tablename from sys.dm_db_partition_stats where index_id = 0 or index_id = 1 group by object_id)select * from emptyrowswhere [totalrows] = 0
其它类似信息

推荐信息