Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2355

DateDiff Crystal SQL Command

$
0
0

Hi, is it possible to use DateDiff in a Crystal SQL Command?

 

I have tried this:

(last_date_of_service is a field in my database)

 

Select ...., DateDiff("d", last_date_of_service, Date) As "DAYS"

From mytable as "mt"

 

I get this error <A term expected, beginning with either of: udentifier, constant, aggregate, $$, (, :, +..... or %Upper^Sele [Database Vendor Code:12]


Viewing all articles
Browse latest Browse all 2355

Trending Articles



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