You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “List All Tables in a Database”.
You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “List All Tables in a Database”.
how see all tables of database in sql server 2005
Your last method with row count did not work for me. Your query over estimated the row count. True count is 78,120 and your query stated 312,480.
Hey Mac,
The fact that the number is wrong, most likely means your stats are out of wack.
http://sqlserverplanet.com/query-optimizer/using-dbcc-updateusage/
Hi Mac,
Try changing SUM(sp.rows) to MAX(sp.rows).
This seems to be working for me so far…