• Thank you for the reply.

    Same problem.

    Error bellow:

    Msg 4104, Level 16, State 1, Procedure TRG_CONTRIBUINTES_VERIFCA_RF_E_NIF, Line 11

    The multi-part identifier "deleted.NUMEROPOSTO" could not be bound.

    Msg 4104, Level 16, State 1, Procedure TRG_CONTRIBUINTES_VERIFCA_RF_E_NIF, Line 16

    The multi-part identifier "contribuintes.cod_rep_fiscal" could not be bound.

    Msg 209, Level 16, State 1, Procedure TRG_CONTRIBUINTES_VERIFCA_RF_E_NIF, Line 28

    Ambiguous column name 'nif_antigo'.