MSSQL查出一个数据库所有表名及表中含有数据条数?

EXEC sp_MSforeachtable @command1="print '?'", @command2= "SELECT count(*) FROM ? "

Last modification:March 2, 2012
稀罕你