![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I haven¢t used database events before and I have a situation that at the first day of every month an inventory check has to been done which will check the quantity against a minimum-safety quantity and if it¢s less than the safety quantity, it has to fire a notification, or later maybe order automatically So I need an event driven solution and I was wondering if database events would fit this scenario in the following sense: Month changes and event is fired |
|
Event handler is called which makes the check by firing a db procedure |
|
In result someone has to get the notification, who would that be, an application? or can it fire an email? |
#3
| |||
| |||
|
|
I've run into your kind of situation many times and I think I ought to discourage you from this approach, even if you could set up a timer based DBP. *In the end I've always ended up writing a cron job (or an at job, or an Autosys job) to do it. writting a cron job sounds a good solution |

#4
| |||
| |||
|
|
I've run into your kind of situation many times and I think I ought to discourage you from this approach, even if you could set up a timer based DBP. *In the end I've always ended up writing a cron job (or an at job, or an Autosys job) to do it. writting a cron job sounds a good solution |

#5
| |||
| |||
|
#6
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |