|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 2:19 PM
Points: 242,
Visits: 656
|
|
according to your script one of my tables has 440 MBs but SSMS says it has around 46 MBs u sure u did the math right?
-- Thiago Dantas @DantHimself
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Monday, May 20, 2013 12:47 AM
Points: 1,431,
Visits: 1,540
|
|
thanks william...
Regards, Sqlfrenzy
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Monday, May 20, 2013 12:47 AM
Points: 1,431,
Visits: 1,540
|
|
dant12 (7/2/2009) according to your script one of my tables has 440 MBs but SSMS says it has around 46 MBs u sure u did the math right?
I tested the script against the 7 tables of adventureworks database...5 tables gave me result with a margin +1/-1..
Regards, Sqlfrenzy
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Thursday, April 11, 2013 10:55 AM
Points: 37,
Visits: 402
|
|
Wouldn't it be incorrect to compare this script to an existing table, since the script is meant to estimate a table's size
Sqlfrenzy (7/2/2009)
dant12 (7/2/2009) according to your script one of my tables has 440 MBs but SSMS says it has around 46 MBs u sure u did the math right?I tested the script against the 7 tables of adventureworks database...5 tables gave me result with a margin +1/-1..
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Yesterday @ 2:58 PM
Points: 438,
Visits: 1,145
|
|
I like this, but Richard Ding's creation "sp_sos" is a little more thorough, and is a PROC instead of a group of Functions.
http://media.techtarget.com/searchSQLServer/downloads/URL_for_SQL_Script_download_Tip_on_Sp_SOS.doc
|
|
|
|