Click here to Skip to main content
15,915,164 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
how id do delete automatically many row of a table in sqlserver
example every 1 month
i want do this without login
Posted
Comments
[no name] 11-Jul-12 17:02pm    
use a job agent
sadegh_rusta 12-Jul-12 17:17pm    
how is it?

 
Share this answer
 
Comments
Prasad_Kulkarni 12-Jul-12 0:05am    
MSDN, Always best! +5
Manas Bhardwaj 12-Jul-12 3:31am    
thx!
Sandeep Mewara 13-Jul-12 2:22am    
Good answer. 5!
Manas Bhardwaj 13-Jul-12 3:43am    
thx!
create a JOB (in SQL Server Agent). For creating a NEW JOB there are simple steps.

1. General<br />
2. Steps<br />
3. Schedule<br />
4. Alerts<br />
5. Notification<br />
6. Target


In these above steps you have to fill the respective fields. and then you can execute QUERIES or SCHEDULES. etc.


Thanks
Ashish
 
Share this answer
 
Comments
sadegh_rusta 12-Jul-12 17:18pm    
can you give me a example code?

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