Record Count For All Tables In Database
摘要:The OP was having an issue getting a record count of all tables in his database. It was working through the Management Studio,using the undocumented but well-known sp_MSforeachtable stored procedure.1 exec sp_MSforeachtable 'select ''?'' TableName, count(*) Cnt from ?';Howeve
阅读全文