Returns the day of the week on which the specified date falls.
The td_day_of_week function provides improved performance compared to using the Sys_Calendar.Calendar system view to obtain similar results.
ANSI Compliance
This statement is a Teradata extension to the ANSI SQL:2011 standard.
Result Type
The result is an INTEGER value from 1 through 7, representing the day of the week, where Sunday = 1 and Saturday = 7.