Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need help in sql where condition

Hi Guru's,

As I need a 'YYYYMM' format of date in the SQL WHERE condition.

like in our Load statement we can write

Date(MonthName(PurchaseDate),'YYYYMM') as PurchaseDate but I want the same expression in sql Where condition.

How do i write that

1 Reply
PrashantSangle


Hi,

If you need SQL function for it

then use

to_char(trunc(sysdate),'yyyymm')

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂