Re: Field sizes and structure - Mailing list pgsql-general

From Robert Fitzpatrick
Subject Re: Field sizes and structure
Date
Msg-id 004901c29fdb$0914af80$bbc2fea9@COLUMBUS
Whole thread Raw
In response to Re: Field sizes and structure  ("scott.marlowe" <scott.marlowe@ihs.com>)
List pgsql-general
>
> begin;
> select name::varchar(40), address::varchar(45), state char(4),
> zip::varchar(10) into t2 from t1;
>

Thanks for the response, works great. Is there a way to maintain the
Primary key and NOT NULL properties using this method?

--
Robert



pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Re: Is NULL equal to NULL or not?
Next
From: "Ron St.Pierre"
Date:
Subject: Time functions