I have a client table with the Registry Data Date and Registry Modification Date fields would anyone know how to create a trigger
that updates the Modified Date column of this customer table every time a row is changed, so far I've thought of something like this here:
CREATE trigger TBCLIENTE_DATAMODIFICACAO for TB_CLIENTE
active before update position 0
AS
begin
update TB_CLIENTE set TB_CLIENTE.DATA_MODIFICACAO = current_date where TB_CLIENTE.CODIGO = ????;
end
Where ????
is a parameter that I can not put correctly.