In Bigquery standard sql how to extract day of a week (number)?
We can do this in Legacy sql using DAYOFWEEK function but couldn't find any equivalent function in the standard sql.
0
votes
1 Answers
4
votes
#standardSQL
SELECT EXTRACT(DAYOFWEEK FROM CURRENT_DATE())
see more for EXTRACT(part FROM date_expression)