pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rjb26@hotmail.losethis.nothere.com
To: pgsql-sql@postgresql.org
Subject: Re: Help reqd: Copying char to date
Date: Fri, 08 Mar 2002 14:26:17 +0100
Message-ID: <nreh8uoa7p1da7srb80btljea9jgqbba5f@4ax.com> (raw)
References: <p92h8ug02ufih1c3a2j0ehhlvcs3fev4kg@4ax.com>

On Fri, 08 Mar 2002 12:38:29 +0100, rjb26@hotmail.losethis.nothere.com
wrote:

>Anybody offer some advice please:
>
>I want to copy a char field to a date field. Is there any quick way of
>doing this?
>TIA

Sorry - this was not very clear. I can copy text to a date field; but
actually want to be able to perform the following:

I have a text field (contents: 20020301)
I would like to change the field type to Date, but retain the
contents, but formatted as a date type. Any ideas, suggestions?

TIA



view thread (3+ messages)  latest in thread

Message-ID: <nreh8uoa7p1da7srb80btljea9jgqbba5f@4ax.com>
Permalink:  ../nreh8uoa7p1da7srb80btljea9jgqbba5f@4ax.com/
Also on:    postgresql.org/message-id/nreh8uoa7p1da7srb80btljea9jgqbba5f@4ax.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: rjb26@hotmail.losethis.nothere.com
  Subject: Re: Help reqd: Copying char to date
  In-Reply-To: <nreh8uoa7p1da7srb80btljea9jgqbba5f@4ax.com>
  References: <p92h8ug02ufih1c3a2j0ehhlvcs3fev4kg@4ax.com> <nreh8uoa7p1da7srb80btljea9jgqbba5f@4ax.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox