Re: Search problem

Поиск
Список
Период
Сортировка
От Julie Hunt
Тема Re: Search problem
Дата
Msg-id 38F3AEDE.978067CD@chac.qld.edu.au
обсуждение исходный текст
Ответ на Search problem  ("Oscar" <oscar@sjs.com>)
Список pgsql-general
Try:-

select * from table where date_field < '10-10-2000'::datetime; (or date if
your date_field is of type date)

Regards
Julie Hunt

Oscar wrote:

> Hi,
>
> I am using apache/php and postgres and I tried a search with dates, but it
> doesn't accept it...
>
> select * from table where date_field < 10-10-2000;
>
> It yells that I cannot use < signs with ints and dates...
>
> Any suggestions ??
>
> Thanks,
> Oscar


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

Предыдущее
От: Julie Hunt
Дата:
Сообщение: Re: Importing a comma-delimited text file
Следующее
От: Jeffrey
Дата:
Сообщение: Out of Memory Errors