Re: SQL and function reference?

Поиск
Список
Период
Сортировка
От Rodolfo J. Paiz
Тема Re: SQL and function reference?
Дата
Msg-id 1106758715.5295.53.camel@rodolfo.gt.factorrent.com
обсуждение исходный текст
Ответ на Re: SQL and function reference?  ("Rodolfo J. Paiz" <rpaiz@simpaticus.com>)
Список pgsql-novice
On Wed, 2005-01-26 at 10:39 -0600, Rodolfo J. Paiz wrote:
> The idea here is to have a formula that says "select * from flights
> where date was less than 30 days ago" and have that formula work
> properly. So if I want to subtract two dates for this purpose, then I am
> going to need a today() function which I also have not found.
>

Silly me: current_date(). <smile>

Cheers,

--
Rodolfo J. Paiz <rpaiz@simpaticus.com>


В списке pgsql-novice по дате отправления:

Предыдущее
От: "Rodolfo J. Paiz"
Дата:
Сообщение: Re: SQL and function reference?
Следующее
От: "Rodolfo J. Paiz"
Дата:
Сообщение: Re: Formatting a month in query output