Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have the date field Billing Date in sales table and I have to load data from 1-07-2017.
I tried by using where Billing Date >= '1-07-2017' and also Date(Billing Date,'DD-MM-YYYY') >= '1-07-2017'.
But its not working.
BillingDate |
02-04-2016 |
03-04-2016 |
04-04-2016 |
05-04-2016 |
06-04-2017 |
07-04-2017 |
08-04-2018 |
09-04-2018 |
10-01-2019 |
Please guide how to achieve this.
Thanks in advance.
This is probably date format issue. You need to correct few things and try like:
where Date#(BillingDate,'DD-MM-YYYY') >= Date#('1-07-2017','DD-MM-YYYY')