Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)

  • RE: What fires the Trigger?

    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...

  • RE: What fires the Trigger?

    Hi Winash, are you sure it is the @Query argument.  Its just that I get the error message

    Invalid object name 'PartUpdate'.

  • RE: What fires the Trigger?

    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...

  • RE: A Question about Triggers from a Newbie

    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...

Viewing 4 posts - 1 through 4 (of 4 total)