Re: delete column
От | Bruce Momjian |
---|---|
Тема | Re: delete column |
Дата | |
Msg-id | 200204270601.g3R61t800350@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: delete column (Lincoln Yeoh <lyeoh@pop.jaring.my>) |
Ответы |
Re: delete column
|
Список | pgsql-general |
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
В списке pgsql-general по дате отправления: