I am creating an easy "service desk" web application with SQL Server as database.
I have a table where the web application is inserting data which is used to send emails for alerting the users about tickets opened, closed, etc. This part is working perfectly fine using sp_send_dbmail and a trigger on insert. However, there are cases where the email is scheduled to be sent later on (for example preventive maintenance).
I know I can create schedule jobs for this however I would like to know if there is any more effective method rather than creating a scheduled job everytime.