文档解释 ORA-18161: FTST0002 – FTUnaryNot operator not supported Cause: An implementation that enforces one of the res
ORA-18161: FTST0002 – FTUnaryNot operator not supported
Cause: An implementation that enforces one of the restrictions on FTUnaryNot must raise a static error if a full-text query does not obey the restriction.
Action: Do not use the FTUnaryNot full-text query operator.
ORA-18161: FTST0002 – FTUnaryNot operator not supported是当在TEXT或CONTAINS子句中使用UnaryNot运算符时,数据库会出现这个错误。
SELECT * FROM test_table t
WHERE CONTAINS(t.column_name, ‘!Word’) > 0;
1.可以尝试用括号将取反的查询条件包裹起来,比如:
SELECT * FROM test_table t
WHERE CONTAINS(t.column_name, ‘(word)’) > 0;
2.也可以考虑使用语言约束(language constraints),用来替换UnaryNot运算符,比如:
SELECT * FROM test_table t
WHERE CONTAINS(t.column_name, ‘word NOT’) > 0;
--结束END--
本文标题: ORA-18161: FTST0002 – FTUnaryNot operator not supported ORACLE 报错 故障修复 远程处理
本文链接: https://lsjlt.com/news/531698.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0