It will suit my purposes for the time being. What I'm trying to do this time is this;
A backup job runs daily at 2am. I have it setup so that it sends me an email before it starts and after it finishes. I want to add steps so that just before backups start it posts a topic in a forum stating that backups have started. After they are completed I want to reply to the topic stating that they are finished.
Actually it doesn't include seconds but that doesn't matter. Have it working fully now.
Have a difficult one for you now.
I want to build a stored procedure which will do the following; Calculate the total members & total posts only knowing that the table name contains "_members" or "_topics" (there are multiple members and topics tables and it cannot be done using dynamic sql as it will exceed the operand limit)
I plan to schedule the sp once per day and update a table with the results.