Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Data Services Designer error Invalid WHERE clause. Additional information: Non-comparison expression is not allowed.

$
0
0

Hi,

 

I need to create some logic in the WHERE clause based on dates, but I am getting an error.

 

Here is my logic:

 

ifthenelse(SQL.POST_DATE > to_date('2014.06.12',yyyy.mm.dd), 

SQL.POST_DATE > sysdate( )-45,

SQL.POST_DATE >= to_date('2014.04.12',yyyy.mm.dd) and

SQL.POST_DATE <= to_date('2014.05.12',yyyy.mm.dd))

 

 

Error is:

Invalid WHERE clause. Additional information: <Non-comparison expression < ifthenelse(SQL.POST_DATE > to_date('2014.06.12',yyyy.mm.dd), 

SQL.POST_DATE > sysdate( )-45,

SQL.POST_DATE >= to_date('2014.04.12',yyyy.mm.dd) and

SQL.POST_DATE <= to_date('2014.05.12',yyyy.mm.dd))

 

> is not allowed. (BODI-1111313)>. (BODI-1111078)

 

I'm not sure what is causing the error. Should I be using something other than ifthenelse?


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>