From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
---|---|
To: | Marc Millas <marc(dot)millas(at)mokadb(dot)com>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: date format |
Date: | 2023-06-14 20:44:36 |
Message-ID: | c958cd0048495e2784cd0998b252a9d324a19aa5.camel@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Ruslan Zakirov | 2023-06-14 21:58:55 | Re: Reproducing incorrect order with order by in a subquery |
Previous Message | Adrian Klaver | 2023-06-14 18:53:36 | Re: date format |