Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Daily autoreset user-defined counter
Message
From
15/01/2001 10:11:22
 
 
To
14/01/2001 17:18:58
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00463494
Message ID:
00463747
Views:
12
Why not just store the last date/time accessed in each counters record. Then, your SP can see if it is a different day, and if so, reset the counter. Or, you could create a scheduled task on your server to run an SP at midnight every day, or whatever.

BOb


>Thanks Bob for your answer!
>
>but I can't figure out how to reset the user-defined counter, I imagine a task that runs everyday (12:00 pm) and reset this counter to 1, I have heard about packages that runs periodically scripts or several task but this packages always export or import data, is it possible that runs directly 'sprocs'?
>
>Regards
>
>Martin Alcaraz
>malcaraz@rtn.uson.mx
Previous
Reply
Map
View

Click here to load this message in the networking platform