SET TERM ^ ;

CREATE OR ALTER trigger ttbmodelo_kit_b01u for tbmodelo_kit
active before update position 1
AS
begin

  if(new.modelo_id is distinct from old.modelo_id)then
  begin
     exception "..." 'MODELO NAO PODE SER ALTERADO';
  end

--  if(new.cor_id is distinct from old.cor_id)then
--  begin
--     exception "..." 'COR NAO PODE SER ALTERADA';
--  end

end
^

SET TERM ; ^

