zircon06
Technical User
- Jan 8, 2007
- 81
Anyone point me syntax problem with this trigger
CREATE OR REPLACE MPW_MSG_INSERT
BEFORE INSERT ON MSG FOR EACH ROW
BEGIN
IF new.msg_message is like '%|B12|%') THEN
new.msg_message := REPLACEnew.msg_message,'|B12|','|B18|'));
ELSE
( :new.msgdet_message is not like '%B12%');
END IF;
END IF;
END;
/
Thanks in advance
CREATE OR REPLACE MPW_MSG_INSERT
BEFORE INSERT ON MSG FOR EACH ROW
BEGIN
IF new.msg_message is like '%|B12|%') THEN
new.msg_message := REPLACEnew.msg_message,'|B12|','|B18|'));
ELSE
( :new.msgdet_message is not like '%B12%');
END IF;
END IF;
END;
/
Thanks in advance