Zoom
Zoom

Reputation: 75

Snowflake date format change

Is there an easy way convert a date format from ('2020-11-17') to November 17,2020 in snowflake.

Thanks

Upvotes: 0

Views: 361

Answers (2)

Onyambu
Onyambu

Reputation: 79228

You should consider using:

TO_CHAR(date, 'MMMM DD yyyy')

Upvotes: 1

Zoom
Zoom

Reputation: 75

I SOLVED THIS PROBLEM USING BELOW SYNTAX:

TO_CHAR(date,'MMMM')||' '||TO_CHAR(date,'DD')||','||TO_CHAR(date,'yyyy')

Upvotes: 0

Related Questions