Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 61771

CALCULATE DAYS BETWEEN TWO DATES / FIELDS IN DIFFERENT TABLES

$
0
0

Hey guys

 

I have a query using data from two tables; CUSTORDR and AR_INTRASTAT.  I need to calculate the # of days between these two dates and I can't get DATEDIFF to work:

 

CUSTORDR - prom_delivery

AR_INTRASTAT - ship_date

 

Any ideas why DATEDIFF not working?  

 

Thanks

Dwayne

 


Viewing all articles
Browse latest Browse all 61771

Trending Articles