Click here to Skip to main content
15,889,808 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
How to Refresh the "security table" every night(to add new users and remove the users)??

Give the suggestion windows service is best or any other alternative is best ??


Thanks & regards,
Anilkumar
Posted
Comments
Mehdi Gholam 20-Aug-12 7:31am    
Your question makes no sense.

If this is a pure SQL task, I'd just use a scheduled task in SQL Server. Otherwise, if you need to add logic, a service is best.
 
Share this answer
 
Comments
ajay.anilmaddi 20-Aug-12 7:34am    
Its not Pure SQL Task, Windows service is best or web service is best??
Christian Graus 20-Aug-12 7:35am    
Do you know what a web service is ? A web service is clearly useless for this task, a windows service is what you need
ajay.anilmaddi 20-Aug-12 7:37am    
ThankQ !!
ajay.anilmaddi 20-Aug-12 7:40am    
Can you give any more info or plz send any link regarding this !!
Christian Graus 20-Aug-12 7:43am    
Google broken where you live ? Google 'C# windows service'
hii,
i think windwos service is best option
 
Share this answer
 
Hi,

One more option is to create Windows Task scheduler. you can execute your dot net executable file with time interval.

Window service is also another best option.

Thanks
-Amit Gajjar.
 
Share this answer
 
This can easily be done by scheduling a Job in SqlServer. Refer the following link for the details on how this can be done.

http://msdn.microsoft.com/en-us/library/ms187910.aspx[^]
 
Share this answer
 

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