Lincoln Yeoh wrote:
> >Good. However, why do you do the 'create new table' when the SELECT
> >INTO creates the table?
> >
> >FAQ updated to take advantage of rollback-able DROP TABLE:
>
> Oops my mistake! I actually didn't use select into to create the table,
> because I didn't want the columns exactly the same as before - was
> switching from varchar to text.
Oh, yes, that makes sense for your case. You can't control the data
types with SELECT INTO.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026