I keep getting this error---
Query Of Queries syntax error.
Encountered "2004" at line 0, column 0. Incorrect conditional expression, Expected one of [like|null|between|in|comparison] condition,
Anyone know whats going on!?
SELECT *
FROM Request.GetContent
WHERE Site = 'Public'
AND Fuse = 'About Us'
AND Type = 'M'
AND ((Publish = 1 AND StartPub IS NULL AND EndPub IS NULL)
OR (Publish = 1 AND StartPub >= '#CreateODBCDate(Now())#' AND EndPub IS NULL)
OR (Publish = 1 AND StartPub IS NULL AND EndPub <= '#CreateODBCDate(Now())#')
OR (Publish = 1 AND StartPub >= '#CreateODBCDate(Now())#' AND EndPub <= '#CreateODBCDate(Now())#')
)
ORDER BY EID
Query Of Queries syntax error.
Encountered "2004" at line 0, column 0. Incorrect conditional expression, Expected one of [like|null|between|in|comparison] condition,
Anyone know whats going on!?
SELECT *
FROM Request.GetContent
WHERE Site = 'Public'
AND Fuse = 'About Us'
AND Type = 'M'
AND ((Publish = 1 AND StartPub IS NULL AND EndPub IS NULL)
OR (Publish = 1 AND StartPub >= '#CreateODBCDate(Now())#' AND EndPub IS NULL)
OR (Publish = 1 AND StartPub IS NULL AND EndPub <= '#CreateODBCDate(Now())#')
OR (Publish = 1 AND StartPub >= '#CreateODBCDate(Now())#' AND EndPub <= '#CreateODBCDate(Now())#')
)
ORDER BY EID