dbTalk Databases Forums  

SQL Help with purging old data

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss SQL Help with purging old data in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
The Man
 
Posts: n/a

Default SQL Help with purging old data - 02-28-2007 , 10:55 AM






Does anyone know how to purge old data in a MS SQL server 2000
database?


Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SQL Help with purging old data - 02-28-2007 , 04:22 PM






The Man (LeJon7881 (AT) gmail (DOT) com) writes:
Quote:
Does anyone know how to purge old data in a MS SQL server 2000
database?
I've answered this in another thread, but in just case someone see this:
to be able to delete old data, you need to be able to define what data
that counts as old, and this has to be done per table basis. This is not
something you can do generically. SQL Server does not know itself how
new or old some data is; that information would have to be in the data
itself.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.