| От | Art Fore |
|---|---|
| Тема | Re: Hoow do you drop a column in a table |
| Дата | |
| Msg-id | 420967AF.3070504@comcast.net обсуждение исходный текст |
| Ответ на | Re: Hoow do you drop a column in a table (Robby Russell <robby@planetargon.com>) |
| Список | pgsql-general |
Thanks for the answers. I recreated the views. Did not realize when you renamed a column, it also changed the views. Art Robby Russell wrote: > On Tue, 2005-02-08 at 16:37 -0800, Art Fore wrote: > >>Using phppgadmin, I tried tropping a column in a table. I comes back to >>try DROP .. CASCADE. Went into psql and typed the following, >> >>ALTER TABLE "MPC" DROP COLUMNG do_not_use CASCADE >> >>It appeared to work but did not drop the column. What is the dprocedure >>for dropping a column? an anyone point me to a document that tells >>EXACTLY how to do this? Also, how do you find out the dependencies it >>says it has? I know of none. >> >>Art > > > ALTER TABLE foo DROP COLUMN name CASCADE; > >
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера