【发布时间】:2021-02-06 04:12:42
【问题描述】:
if (:new.first_name is not null) then
:new.first_name := substr(regexp_replace(:new.first_name,'[^'||chr(1)||'-'||chr(127)||']',null),1,20);
end if;
有人可以帮我处理这段代码吗?看不懂!
【问题讨论】:
-
:new可能是指新插入/更新的行,因为此代码可能在某种触发器内执行。查看文档以获取更多信息。
标签: oracle plsql regexp-replace