Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

SQL Query Date to Number

$
0
0
Hi Guys,

Is there a function that will convert the date field to a number with the query?

I know the date.num() but when I'm inserting it like this I got an error.

Code:

select whinr140.*
from whinr140
where whinr140.item = {:whwmd215.item} and
        whinr140.cwar = {:whwmd215.cwar} and
        date.num(whinr140.idat) < 1
order by whinr140.idat
selectdo
    code here .......
endselect

help please,
amator

Viewing all articles
Browse latest Browse all 4216

Trending Articles



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