Re: to_date

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: to_date
Дата
Msg-id 1139865997.22740.164.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на Re: to_date  ("Jim Fu" <Jim.Fu@LogixCom.com>)
Список pgsql-admin
On Mon, 2006-02-13 at 15:22, Jim Fu wrote:
> Thank you Michael for the info!
>
> I have the original date info as mmddyy, when I use copy tabname from filename, it fails due to mismatch between raw
dateinfo and date data type in the database. It seems like I had to convert the raw date info to be like 'yyyy-mm-dd'
tomatch PostgreSQL date default format in order to use copy command. 


Take a look here:

http://www.postgresql.org/docs/8.1/static/runtime-config-client.html#GUC-DATESTYLE
and here:
http://www.postgresql.org/docs/8.1/static/datatype-datetime.html

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

Предыдущее
От: "Jim Fu"
Дата:
Сообщение: Re: to_date
Следующее
От: postgres@pivert.org
Дата:
Сообщение: Re: Switch log (WAL)