Forum Replies Created

Viewing 5 posts - 1 through 6 (of 6 total)

  • RE: Sync 2 tables using triggers

    Michael L John (3/6/2015)


    Simplify this.

    In the update trigger, delete the rows in the slave tables that match the deleted table, and insert the rows in the slave tables from...

  • RE: Sync 2 tables using triggers

    renato.guiglia (3/6/2015)


    First of all, thank you very much for your time! 😉

    Send Beer.

    😀

    I recommend a "holding" table. The triggers insert the old and new values into this table, a separate...

  • RE: Sync 2 tables using triggers

    First of all, thank you very much for your time! 😉

    yes, one trigger for each operation. It is better to have only one trigger to manage all?

    In this case, three...

  • RE: Sync 2 tables using triggers

    I tried your DELETE Script, but it didn't work: i think that you would use DELETED table.

    My mistake!

    No problem 😉

    Your UPDATE script is correct ONLY if you update description field.

    If...

  • RE: Sync 2 tables using triggers

    Thank you for your response!

    This tables are on two different databases, so we need to keep them in sync.

    We cannot change tables structure because there are 3rd party applications that...

Viewing 5 posts - 1 through 6 (of 6 total)