Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to give where condition on date in SQL

Hi,

I am loading the data from a VIEW which is created in SQL but WHERE condition is not working.  

 

SQL

SELECT * FROM NEWC."VIW_MONTHLY" WHERE CALLDATE>='01/01/2013 00:00:00';

condition is not working im getting all 2010 data also. Kindly help me...

14 Replies
Not applicable
Author

again error:

ErrorSource: OraOLEDB, ErrorMsg: ORA-01861: literal does not match format string

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Dear Rashmi,

     What is the version of your Oracle?

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Version 11

Not applicable
Author

Version 11

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Try this.

Select * from NWEC."VIW_MONTHLY" where CALLDATE  >= to_date('01-JAN-2013 12:00:00','DD-MON-RRRR HH24:MI:SS')

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!