Hi there,
I would like to get your help on a problem I am going through.
We have a project that consist of sending customers a message through their cell phones alerting them that their payment is ready for collection. I was asked to write a procedure to perform this.
Here is the way I thought I would do it:
1- A procedure that inserts records related to a specific customer when his payment is ready
2- A trigger that checks the payment table for any update on a specific column
My problem is the trigger (how to write it), and most importantly, how to call the stored procedure from this trigger whenever the condition is fulfilled(paymt ready).
Your help would be greatly appreciated.
Thanks!
I would like to get your help on a problem I am going through.
We have a project that consist of sending customers a message through their cell phones alerting them that their payment is ready for collection. I was asked to write a procedure to perform this.
Here is the way I thought I would do it:
1- A procedure that inserts records related to a specific customer when his payment is ready
2- A trigger that checks the payment table for any update on a specific column
My problem is the trigger (how to write it), and most importantly, how to call the stored procedure from this trigger whenever the condition is fulfilled(paymt ready).
Your help would be greatly appreciated.
Thanks!