I have problem that not solved for many days, i've been searching and follow answer in many question, it seems like the structure data for the datetime in my database so strange. i've read this post : Select from table by knowing only date without time (ORACLE) but it's not work on me. Okay let's start for the problem,
Im using ODBC connect to fetch data in ORACLE Database for Remedy Client.
When I select with simple query like this :
select Create_Date from HPD_Help_Desk_SLA
it result :
Create_Date
2014-07-01 05:27:02.000
2014-07-02 05:27:02.000
but when i try this query :
select Create_Date from HPD_Help_Desk_SLA where Create_Date >= TO_DATE('2014-05-03', 'YYYY-MM-DD') AND Create_Date < TO_DATE('2014-08-04', 'YYYY-MM-DD')
it result :
Warning: odbc_exec(): SQL error: [AR System ODBC Driver]Column not found: ., SQL state S0000 in SQLExecDirect in....
and I try for this simple query :
select Create_Date from HPD_Help_Desk_SLA where Create_Date <= '2014-08-04'
and
select Create_Date from HPD_Help_Desk_SLA where Create_Date like '2014-07-01%`'
and this not showing anything
Any ideas for this? Thanks