- Details
- Written by: Glenda Gable
- Category: Configuration/ Automation
I am working on a T-SQL "system" to send emails. This will help so that in all the things that I use to send update emails, (ETL, sql jobs, etc.), I can just write a record in a table somewhere and the email will be handled for me. Some benefits:
- I can have the templates and recipients pre-defined so I dont have to worry about what to say.
- I dont have to worry about updating my SSIS packages or sql jobs when the text or recipients of the notification email needs to be changed.
- A history of the emails sent, to whom, and when (purely for taking up space, I am sure noone would doubt me if I said an email was for sure sent even though they didnt get it).
- A queue that will allow the emails to be sent even if services are down (after they are recovered).
- Details
- Written by: Glenda Gable
- Category: SSIS
Ohh boy - this is a biggie for me right now (actually it has been for a couple of weeks, but I have successfully put it off until today). :)
I have a situation where there are already SSIS packages, and sql statements that pull from an Oracle database into our SQL Server database. The person who set them up left the company (a positive for him). Therefore, I was scrambling when I started getting all these error messages that were basically laughing at me!
These are the steps I have had to do:
- Details
- Written by: Glenda Gable
- Category: DBA Info
Ever needed to know what version you are running - and what service packs were installed? I found the following when I was searching for this exact question for myself. It was very helpful. I printed it out, so if it is ever is a url that is not found, I can put the data here instead.
- Details
- Written by: Glenda Gable
- Category: SSIS
Are you wanting to put a set of data into multiple tables - without needing a primary key from the first table? I ran into a situation where I had records that I wanted to insert into a table, but I wanted to be able to email people saying "hey look you need to do this, this and this because there are new records to look at!". So, I wanted to use the same exact set of data and put it in 2 tables (1 as the actual source, the other to use as a mail queue).
Voila - Multicast! It allows you to use the same recordset in multiple destinations. Wonderful!
Hopefully this helps someone else who runs into this issue.
TTFN!
- Details
- Written by: Glenda Gable
- Category: Monitoring
I was looking to make the emails I get when a sql job or something fails (that is required to run) make an annoying noise to wake me up in the middle of the night (which is not an easy thing to do when you are dead to the world). Here's what I found on setting some emails as Level 1 messages (from Blackberry.com) for the Blackberry Curve. This actually works well - I use the subject line specifically,
Level 1 Messages - This helps to identify when any email message is received as high priority, both in and out of the holster.