Re: date format

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: date format
Дата
Msg-id c958cd0048495e2784cd0998b252a9d324a19aa5.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: date format  (Marc Millas <marc.millas@mokadb.com>)
Список pgsql-general
On Wed, 2023-06-14 at 20:02 +0200, Marc Millas wrote:
> So, creating a foreign table with varchar type, and then doing the insert as select with the appropriate format..
clear.
> somewhat sad as it was a one step process with the former oracle db we get rid off.

It can be a one-step process, if you create a view on the table that uses
to_date() to convert the column to a "date".

Yours,
Laurenz Albe



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: date format
Следующее
От: Ruslan Zakirov
Дата:
Сообщение: Re: Reproducing incorrect order with order by in a subquery