Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 table space

Author  Topic 

priyaram
Yak Posting Veteran

82 Posts

Posted - 2005-06-30 : 16:25:23
is there any stored procedure to get how much is the space used by the tables every month??

Thanks

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2005-06-30 : 16:35:31
No such stored procedure exists. You can use sp_spaceused to get the information at that moment in time. To get it for a month, then you'll need to run this stored procedure once a day and save the data into a table. So you've got some code to write that calls sp_spaceused.

Tara
Go to Top of Page
   

- Advertisement -