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.

enter image description here

delete tablex dateadd(month, -6, getdate()) > timestampfield  

this purge fields older 6 months.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -