I have this sexy trigger, that takes a value from a field REFERENT, parses it, finds a row in some view and fills some data to original row that needs to be inserted. I also the
A colon character is missed before NEW.REFERENT
NEW.REFERENT