Click here to Skip to main content
15,887,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I want delete some raw from sql database after every date automatically.. Is it possible in ASP.net???
Posted

1 solution

Do you use Sql Server standard or enterprise edition? If you do, then I suggest that you use Sql Server Agent jobs, see: http://msdn.microsoft.com/en-us/library/ms189237.aspx[^]

When using agent the operation is independent from other applications and reliable from the Sql Server point of view.
 
Share this answer
 
Comments
Jayname 5-Sep-11 3:40am    
Hi.. can u explain me.. whis is this exactly..?? and how to use it on server?? where to put it on server?? pls.. because no more space on my database server so i want to delete row which is inserted before 10 days automatically.. In short i want to store data for last 10 days..
Wendelius 5-Sep-11 3:45am    
Here's one quite good walkthrough, but remember only Standard and Enterprise editions have the Agent. Express edition doesn't include that.

http://databases.about.com/od/sqlserver/ss/sql_server_agent.htm[^]

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