3
Let’s imagine the following scenario:
CREATE TABLE invalido (
ds_valor character varying(255)
)
CREATE TABLE email (
email character varying(255)
)
now I need a trigger
that every time I run a UPDATE
or INSERT
on the table email
check if the value is in the table invalido
, if you are then you should replace what would be inserted in the table email
for invalid email.
Same situation as: Postgresql Trigger apos update but with Sqlserver
David, can you add the question what you tried so far?
– Cobra