Extremely slow SQL server

  • troys - Tuesday, March 13, 2018 4:26 AM


    ALTER TRIGGER [dbo].[trig_Manifest_Delete] ON [dbo].[ManifestDetail]
    FOR DELETE
    AS
    Begin 
    DECLARE @ManType INT;
    SELECT @ManType=ISNULL(MH.ManifestType,0) FROM Inserted i
    ......

    Table Inserted is always empty in DELETE trigger.
    Did anybody ever test the code?

    _____________
    Code for TallyGenerator

Viewing post 16 (of 15 total)

You must be logged in to reply to this topic. Login to reply