I am trying to fetch both the months and years from the Column (MISSUE) while introducing an "_" in snowflake. For example (6_2021, 7_2021 etc).
This can be archive in MS Access query as:
Month([MISSUE]) & "_" & Year([MISSUE]) AS Month_Year
My current Code in Snowflake shows:
EXTRACT(Month, TO_DATE(MISSUE)) &'_'& EXTRACT(Year, TO_DATE(MISSUE)) AS Month_Year
Can someone please tell me what I am during wrong?
Thank you!
