Home Forums SQL Server 2005 Development Downgrade INSERT with OUTPUT to Sql Server 2000 RE: Downgrade INSERT with OUTPUT to Sql Server 2000

  • You could create a trigger for insert

    CREATE TRIGGER TI_Locations ON Locations

    AFTER INSERT

    AS

    INSERT INTO _NewLocations (LocationID, LocationName,AreaID)

    SELECT LocationID, LocationName, AreaID

    FROM Inserted

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2