I am looking for a way to programatically determine the size of the data contained in a table, much like the sp_spaceused proc in SQL Server.
Thanks.
SQL Server Compact Edition
I am looking for a way to programatically determine the size of the data contained in a table, much like the sp_spaceused proc in SQL Server.
Thanks.
Thanks for the info. I am also considering using something like Sum(Len(MyNvarcharField)) to get a closer approximation of the variable length data (of which there are several). I don't really have a good percentage to estimate actual data vs. column max length. Expensive, but needs to run only a couple times a day to monitor size.