How to convert date to 'yyyymmdd' format in MV

 I got this question from community.incorta.com

Question: 

I want to convert CURRENT_DATE to format 'yyyyMMdd' in the materialized view,  I try CONVERT, and FORMAT function but it's not supported in SQL of MW, how I can do that? 

Answer:

SELECT date_format(Current_Date, 'yyyyMMdd') from Audit.date
view raw Convert_Date hosted with ❤ by GitHub


Comments

Popular posts from this blog

How to create histogram in Incorta use bin function.

Using Time Series Analysis Electric Production by ARIMA Model