I am creating a Pass Through Query. Here is my code:
SELECT MDSDBA_CINTAKE. RECVDATE, MDSDBA_CINTAKE. CMPSRC,
Count(MDSDBA_CI NTAKE.CMPSRC) AS CountOfCMPSRC
FROM MDSDBA_CINTAKE
WHERE RECVDATE>=to_da te( '01-09-2005','dd-mm-yyyy')
AND RECVDATE<to_dat e( '01-10-2005','dd-mm-yyyy')
AND CMPSRC IS NOT NULL
GROUP BY CMPSRC;
I get the error: ODBC--call failed.
[Oracle][ODBC][Ora]ORA-00942: table or view does not exist
(#942)
I believe that part of the problem is my date format?
Thanks for your assistance!
jmarr02s
SELECT MDSDBA_CINTAKE. RECVDATE, MDSDBA_CINTAKE. CMPSRC,
Count(MDSDBA_CI NTAKE.CMPSRC) AS CountOfCMPSRC
FROM MDSDBA_CINTAKE
WHERE RECVDATE>=to_da te( '01-09-2005','dd-mm-yyyy')
AND RECVDATE<to_dat e( '01-10-2005','dd-mm-yyyy')
AND CMPSRC IS NOT NULL
GROUP BY CMPSRC;
I get the error: ODBC--call failed.
[Oracle][ODBC][Ora]ORA-00942: table or view does not exist
(#942)
I believe that part of the problem is my date format?
Thanks for your assistance!
jmarr02s
Comment