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
 General SQL Server Forums
 New to SQL Server Programming
 Reducing Table Size

Author  Topic 

pgb205
Starting Member

2 Posts

Posted - 2009-07-16 : 13:31:46
one of the tables in my database repeatedly grows past 1Gb which is causing some issues. Is there a way in SQL(MSSQL) to get table size and delete the oldest entries until the size is below a certain treshhold.

thnks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-07-16 : 13:37:54
i think what you need is a good archiving strategy

http://vyaskn.tripod.com/sql_archive_data.htm
Go to Top of Page
   

- Advertisement -