Re: Dates/Timestamps in a where clause

Поиск
Список
Период
Сортировка
От Einar Karttunen
Тема Re: Dates/Timestamps in a where clause
Дата
Msg-id Pine.LNX.4.30.0102061611290.1818-100000@melkinpaasi.cs.Helsinki.FI
обсуждение исходный текст
Ответ на Dates/Timestamps in a where clause  ("Ian deSouza" <iandesouza@earthlink.net>)
Список pgsql-general
On Thu, 1 Feb 2001, Ian deSouza wrote:
> Anybody know how to format a date/timestamp type in a where clause. ie.
>
> where OrderDate='1996-07-17 00:00:00.0'
>
You could try changing the datestyle before the query.
SET DATESTYLE ISO|SQL|Postgres|German ...
You can read more from
http://www.fr.postgresql.org/docs/postgres/sql-set.htm

- Einar Karttunen


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

Предыдущее
От: "Adam Lang"
Дата:
Сообщение: Re: Re: Write to postgreSQL via ODBC?
Следующее
От: James Thompson
Дата:
Сообщение: Re: GUI Clients for PostgreSQL