ORA-64451: 特殊字符到转义字符的转换失败

Too*_*kit 5 oracle oracle12c

我正在连接一些文本,但出现了一个我找不到任何相关信息的奇怪错误

UPDATE Table1 a
SET a.AllTexts = a.Text
  || a.Title
  ||
  (SELECT XMLAGG(XMLELEMENT(E,"Text",',').EXTRACT('//text()')).GetClobVal()
  FROM Table2 b
  WHERE b.El_Id = a.Id
  )
Run Code Online (Sandbox Code Playgroud)

AllTexts 是CLOB,所有其他列都是VARCHAR2

我得到

Error report -
SQL Error: ORA-64451: Conversion of special character to escaped character failed.
64451. 00000 -  "Conversion of special character to escaped character failed."
*Document: NO
*Cause:    An attempt to convert a special character to an escaped character failed.
*Action:   Remove the special character that cannot be escaped.
Run Code Online (Sandbox Code Playgroud)

编辑:错误是由一些奇怪的符号引起的。问题是无法提前知道哪些符号会阻止执行

小智 8

我收到了这个错误代码,这对我有用

REGEXP_REPLACE(COLUMN, '[^[:print:]]', '') 
Run Code Online (Sandbox Code Playgroud)