Maintenance plan and job in SQL Server 2008 R2 -
attached image copy of sql server 2008 r2 database table. in table daily updated huge amount of data syslog, security log, application, system log our database growing rapidly.
is there maintenance plan or job can purge data automatically older 180 days.
delete tablex dateadd(month, -6, getdate()) > timestampfield
this purge fields older 6 months.
Comments
Post a Comment