Re: setting a non-standard date format for the duration of a session

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: setting a non-standard date format for the duration of a session
Дата
Msg-id 200404100819.19580.josh@agliodbs.com
обсуждение исходный текст
Ответ на setting a non-standard date format for the duration of a session  (Cris Carampa <cris119@operamail.com>)
Список pgsql-sql
Cris,

> I understand I can use the function to_date(s,f) for converting a string
>   into a date using a non-standard format.
>
> I'm wondering if there is a way to set a non-standard date format for
> the duration of a session, something like the "ALTER SESSION SET
> NLS_DATE_FORMAT='f'" Oracle statement.

Sort of.   See the Docs on "Runtime Configuration" on the GUC variable 
"Datestyle".

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: hi sir urgent..required a Query
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: SQL challenge--top 10 for each key value?