Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
master_student
Creator III
Creator III

ErrorSource: OraOLEDB, ErrorMsg: ORA-00936: expression absente

Hi everyone, I get this error message :ErrorSource: OraOLEDB, ErrorMsg: ORA-00936: expression absente

Here 's my query:

select tt.*, d.aliasname cl2

from (

SELECT

REPORT_TYPE,

REPORT_DATE,

DEBITED_ACTOR_ID,

CREDIT_ACTOR_ID,

credit,

tab.ALIASNAME cl1

FROM   POS_REPORT_FINAL_1904 trans , DUMP_RETAILER_FINAL tab

WHERE  

trans.debited_ACTOR_ID =tab.ACTORE_ID(+)

and report_type = 'TSR001'

AND function_id = 243

and debited_actor_id IN ()

AND OPER_STATE = 61

AND IERRORX = 0)  tt, DUMP_RETAILER_FINAL d

where

tt.credit_ACTOR_ID =d.ACTORE_ID(+)

Could you assist me please

4 Replies
Anil_Babu_Samineni

Have a look this..

http://stackoverflow.com/questions/12156399/how-to-resolve-ora-00936-missing-expression-error

ORA-00936: missing expression - TekStream

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
andrespa
Specialist
Specialist

Hi, you ommited some part of your query, but at first glance I couldn't find any error, just maybe the semicolon at the end. But for sure it's a query incomplete problem.

Hope it helps,

Andrés

master_student
Creator III
Creator III
Author

Hi Andres, I am not hidding anything in my query except this clause 'and debited_actor_id IN ()'  that contains a variable.

Thanks

Clever_Anjos
Employee
Employee

Would you mind posting your entire sql?

Does this SQL runs using a SQL Client?