0
我每次運行此查詢,我得到ora00907錯誤:SQL ora00907錯誤
ORA-00907: missing right parenthesis 00907. 00000 - "missing right parenthesis"
SELECT COUNT(*)
FROM jobseekerprofile
JOIN userprofile on jobseekerprofile.portalprofileid = userprofile.portalprofileid
WHERE TO_CHAR((jobseekerprofile.createddate >= '23-APR-2013'),
TO_CHAR(jobseekerprofile.createddate >='23-APR-2013 14:00:00'))
AND TO_CHAR((jobseekerprofile.createddate < '24-APR-2013'),
TO_CHAR(jobseekerprofile.createddate < '24-APR-2013 13:59:00'))
AND userprofile.domainid = 1
你是[使用TO_CHAR](http://www.techonthenet.com/oracle/functions/to_char.php)不正確 – 2013-04-26 02:36:15
爲什麼你想要兩個'CreatedDate> = something'條件和兩個'CreatedDate
2013-04-26 02:47:08
我想獲取23/04/2013 14:00:00和24/04/2013 13:59:00 – Constantine 2013-04-26 02:50:09