• subscribe
August 22, 2001 12:00 AM

Archiving Outdated Data

SQL Server Pro
InstantDoc ID #21750

I want to remove a database's records dating from last year and archive them. I could copy the records to a new table, then delete them from the old table, but the effort would be time-consuming. Does SQL Server have a way to accomplish this task automatically?

SQL Server has no way to automatically archive old data. You can write a stored procedure to do the work. Or if you need to transform the data before archiving it, you can create a customized Data Transformation Services (DTS) task, then schedule the task as a job to run periodically.



ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here