Received: from jupiter.hub.org (jupiter.hub.org [64.49.215.5]) by postgresql.org (Postfix) with ESMTP id 5CDC247546E for ; Fri, 8 Mar 2002 08:34:44 -0500 (EST) Received: (from news@localhost) by jupiter.hub.org (8.11.6/8.11.6) id g28DQDM78016 for pgsql-sql@postgresql.org; Fri, 8 Mar 2002 07:26:13 -0600 (CST) (envelope-from news) From: rjb26@hotmail.losethis.nothere.com X-Newsgroups: comp.databases.postgresql.sql Subject: Re: Help reqd: Copying char to date Date: Fri, 08 Mar 2002 14:26:17 +0100 Message-ID: References: X-Newsreader: Forte Agent 1.9/32.560 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 17 To: pgsql-sql@postgresql.org X-Archive-Number: 200203/146 X-Sequence-Number: 7026 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