• like this:

    update

    contribuintes

    set

    nif = c.nif

    from

    contribuintes c

    join

    deleted d

    on

    d.nif_antigo = c.nif_antigo

    where

    c.numeroposto = 'Central'