converting varchar date strings to date - Mailing list pgsql-general

From pw
Subject converting varchar date strings to date
Date
Msg-id 001001c39273$de6e70e0$0f01a8c0@peter
Whole thread Raw
Responses Re: converting varchar date strings to date
Re: converting varchar date strings to date
List pgsql-general
Hello,

How can I typecast a date generated from VARCHAR fields into
a date field

ie:

UPDATE inventory SET date_field = vc_year||'-'||vc_month||'-'||vc_day;



where the date string is built up from varchar fields?

Thanks for any help.

Peter


pgsql-general by date:

Previous
From: Edmund Dengler
Date:
Subject: Re: SET within a function?
Next
From: Mike Mascari
Date:
Subject: Re: SET within a function?