Question:
I have created a trigger which inserts City asOthers
for all the data inserted with City name OTHERS
But it updates as
null
for text other than OTHERS
. So I want to add IF
condition for the same. Below is my trigger.Answer:
That’s because you didn’t say what to do “else”:If you have better answer, please add a comment about this, thank you!