EASY QUESTION!!

Поиск
Список
Период
Сортировка
Искать

EASY QUESTION!!

От:
dvsangel@dodo.com.au (dvsangel)
Дата:
a column in one of my tables contains dates in the format yyyy-mm-dd
From these dates I need to find out which dates are sundays.
can anyone help me????
PLEASE???


Re: EASY QUESTION!!

От:
Josh Berkus <josh@agliodbs.com>
Дата:
DVS,

> a column in one of my tables contains dates in the format yyyy-mm-dd
> From these dates I need to find out which dates are sundays.
> can anyone help me????
> PLEASE???

SELECT extract(dow from )

I believe that 0 is sunday.

-- 
-Josh BerkusAglio Database SolutionsSan Francisco


FAQ