Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82388

How can I give Date and Time parameter to OQL Dataset?

$
0
0

Hi team,

I want to provide adate time parameter "Next4days " to my query. But there is no parameter type Date and time. It is Date and time range which I can not compare with the date time. Here is my query:

Select CcyPair, Buy_Sell, ProductType,count(*), round(cast((sum (case when DeliveryDate > $Next4days + 10 and DeliveryDate < $Next4days + 30 then case when FirstCcy =BaseCcy then FirstCcyAmt else SecondCcyAmt end else 0 end) : sum (case when FirstCcy =BaseCcy then FirstCcy_Amt else SecondCcy_Amt end) ) * 100 as Decimal) , 2) From ImportData.TradeListLine

Please let me know if this is possible.


Viewing all articles
Browse latest Browse all 82388

Trending Articles



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