ORA-00920:无效的关系运算符在索引:: 1处缺少IN或OUT参数

时间:2016-03-14 14:15:24

标签: oracle jdbc

我在这里搞砸了,我收到了这个错误,我真的不知道如何修复它。 当我尝试运行此查询时,我收到一条错误消息:

SELECT A.INTERACTION_ID,
       A.SERVICE_AUDIT_ID,
       A.INTERACTION_STATUS_INFO,
       A.INTERACTION_MESSAGE_TEXT,
       A.INTERACTION_START,
       B.SERVICE_RESPONSE_CODE,
       B.SERVICE_RESPONSE_INFO,
       C.DELIVERY_RECEIPT_STATUS_INFO
  FROM CONSENT_SERVICE_INTERACTION A
       INNER JOIN CONSENT_SERVICE_TRANSACTION B
         ON A.SERVICE_AUDIT_ID = B.SERVICE_AUDIT_ID
       INNER JOIN CONSENT_SMS_INTERACTION C
         ON A.CLIENT_TRACKING_ID = C.CLIENT_TRACKING_ID
 WHERE     A.INTERACTION_MESSAGE_TEXT = 'OK'
       AND B.SERVICE_RESPONSE_INFO = 'OK'

 ORA-00920: invalid relational operator
 Missing IN or OUT parameter at index:: 1

奇怪的是,如果我添加一个额外的条件,它可以工作

0 个答案:

没有答案