Re: Field sizes and structure

From: "Robert Fitzpatrick" <robert(at)webtent(dot)com>
To: "'scott(dot)marlowe'" <scott(dot)marlowe(at)ihs(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Field sizes and structure
Date: 2002-12-09 23:30:56
Message-ID: 004901c29fdb$0914af80$bbc2fea9@COLUMBUS
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron St.Pierre 2002-12-10 00:00:03 Time functions
Previous Message Rich Shepard 2002-12-09 23:19:39 Re: Is NULL equal to NULL or not?