Thank you for your help, very much appreciated.
I thought that your response would work however, I am getting an error message that says; cannot use text, or ntext or image columns in the inserted, deleted columns. Here is the code.
f update (FirstName) and update(LastName)
BEGIN
select @tempage = (select * from Inserted)
begin
select @tempemp = (Select FirstName from Inserted)
select @tempstring = 'Mail notification of an update using atrigger - tony' + @tempemp
exec master.dbo.xp_sendmail
'tony.whitwell@decorpart.co.uk' ,@tempstring
end
end
Thank u again
I thought that your response would work however, I am getting an error message that says; cannot use text, or ntext or image columns in the inserted, deleted columns. Here is the code.
f update (FirstName) and update(LastName)
BEGIN
select @tempage = (select * from Inserted)
begin
select @tempemp = (Select FirstName from Inserted)
select @tempstring = 'Mail notification of an update using atrigger - tony' + @tempemp
exec master.dbo.xp_sendmail
'tony.whitwell@decorpart.co.uk' ,@tempstring
end
end
Thank u again