我正在处理红移&想写一些查询,它将删除第一次出现的括号内的消息。在红移有正则表达式查找第一次出现
输入: -
FR_3000 Error opening file [File_Location]. Operating system error message [The system cannot find the path specified.].
输出: -
FR_3000 Error opening file []. Operating system error message [The system cannot find the path specified.].
我想下面的查询,但未能解决问题..
select regexp_replace(description,'\[(.*?)\]','') from emp;
告诉我们它不能解决你的问题。这可能是错误的正则表达式,甚至错误的表或列名称 –