Hi,
I have a DTS that runs and inserts records to a table in SQL Server 7.0. This table has a trigger attached to it that fires on insert.
The trigger checks for the value in a column in the newly inserted rows and based on the result, executes the sp_sendmail procedure
Now, my problem is that this trigger works when i manually insert records from the query analyser and sends respective emails. But it does not send mails when the rows are inserted through the DTS.
Does anybody have a clue as to why this is happening. I have started the SQL mail server too.
Please help...Thanks in advance.
I have a DTS that runs and inserts records to a table in SQL Server 7.0. This table has a trigger attached to it that fires on insert.
The trigger checks for the value in a column in the newly inserted rows and based on the result, executes the sp_sendmail procedure
Now, my problem is that this trigger works when i manually insert records from the query analyser and sends respective emails. But it does not send mails when the rows are inserted through the DTS.
Does anybody have a clue as to why this is happening. I have started the SQL mail server too.
Please help...Thanks in advance.