I'm trying to extract the MONTH NAME from a date in BigQuery, the type is DATE (i.e., 2019-09-19). I tried something like:
SELECT PARSE_DATE('%B',CAST(date_start AS string)) FROM table
but it doesn't work. I also tried some other stuff from the DATE funcs such as EXTRACT and the DATETIME funcs with no luck.
I know there are some functions like MONTHNAME() in other SQL languages, but they don't work in BQ.
Is there a way to do this that doesn't rely in CASE function?
Thanks.