CREATE TRIGGER cobros_aiu0 FOR cobros active after INSERT OR UPDATE POSITION 0 AS BEGIN IF (NEW.ESTATUS='LLAMAR') THEN NEW.FECHA_COBRO =' '; ELSE NEW.FECHA_LLAMADA=' '; END
y me sale el siguiente error:
This column cannot be updated because it is derived from an SQL function or expression.
attempted update of read-only column.
Dos preguntas:
a) cual es la forma correcta de limpiar un campo fecha?
b) Porque me da ese error?