create table #rowcount (tablename varchar(128), rowcnt int)exec sp_MSforeachtable 'insert into #rowcount select ''?'', count(*) from ?'select * from #rowcount order by rowcnt descdrop table #rowcount
Powered by: 博客园 Copyright © 2024 mrfangzheng Powered by .NET 9.0 on Kubernetes