Question

I can get week number using extract dow function in netezza for a date.

Select extract(Dow from date) from table

How can I get name of the weekday?

Was it helpful?

Solution

I haven't tried with a date datatype, but to get the day name from a timestamp you would use

select to_char(date, 'Day') from table

That should give results of Sunday, Monday, Tuesday, etc. Try it with your date column and please let us know if it works.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top