Viewing 4 posts - 1 through 4 (of 4 total)
This is the code:
EXEC master..xp_sendmail @recipients = 'me@meltd.com',
@query = 'SELECT * FROM NewPartNos..PartIDUpdate',
@subject = 'New Part Numbers',
@message = 'The contents of New...
October 26, 2004 at 3:56 am
Hi Winash, are you sure it is the @Query argument. Its just that I get the error message
Invalid object name 'PartUpdate'.
October 25, 2004 at 8:54 am
I am going to scrap this and go a completely different route instead. I will use SQL Agent Jobs.
I will create a Query which will then be executed in a...
October 25, 2004 at 7:50 am
Good Thinkin.
I have been asking a few other people and they have come up with this code.
CREATE TRIGGER NewPartIDUpdate ON PartIDUpdateNT
FOR UPDATE
AS
DECLARE @PartID int, @msg varchar(100)
IF UPDATE (GGOPDT)
BEGIN
SELECT...
October 5, 2004 at 6:22 am
Viewing 4 posts - 1 through 4 (of 4 total)