Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

help with giving condition on datetime field

Hi

I have a query which works fine in oracle toad when i give a condition like

Where table1.datetimefield between '01-dec-2010' and '31-dec-2010'

but when i copy and paste same sql in qlikview it does not fetch any data ,

do i need follow any format when giving a between condition in qlikview?

Please Help

Thanks...

1 Reply
deepakk
Partner - Specialist III
Partner - Specialist III

hi,

Use the to_Char function like below

to_char(Date, 'DD-MM-YYYY') >= Date(systemdate,'DD-MM-YYYY')