Click here to Skip to main content
16,021,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear friends..

database capacity is very less. So i want to delete data automatic from sql server 2005. i want to back up only last 7 days. How to solve this problem.

Please...
Posted

1 solution

You can write windows service
This[^]

OR

You can create a sql job to do this

Check This[^]

and This[^]
 
Share this answer
 
v3
Comments
Menon Santosh 2-Nov-11 2:29am    
Nice advice ;)
P.Salini 2-Nov-11 2:37am    
Thank you Santosh

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900