Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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 🙂