Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

using date ranges in ROQL where clause (1 Comment)

$
0
0

Topic by Radagast

I am trying to pull a range of incidents in ROQL based on the creation date and I am not sure of the syntax.  So if I wanted to look at incidents from January through december of 2012 how would this look?

 

Something like:

SELECT Incident FROM Incident WHERE Incident.createdtime > '2012-01-01 00:01:00' and Incident.createdtime < '2013-01-01 00:01:00'

 

 '2010-01-01 15:23:30'


Viewing all articles
Browse latest Browse all 2504

Trending Articles