| От | Brad Nicholson |
|---|---|
| Тема | Re: change existing table definition |
| Дата | |
| Msg-id | 42C16C88.5060700@ca.afilias.info обсуждение |
| Ответ на | Re: change existing table definition (Chuming Chen <chen@musc.edu>) |
| Список | pgsql-admin |
Chuming Chen wrote: > Peter Eisentraut wrote: > >> Chuming Chen wrote: >> >> >>> How can I change the column definition of an existing table, ie. from >>> varchar(30) to varchar(50)? Is there any way to add a new column to >>> an existing table? >>> >> >> >> The ALTER TABLE command can do all that. You need version 8.0 or >> later for some functionality though. >> >> >> > Is there another way to do it in 7.* ? > http://www.postgresql.org/docs/faqs.FAQ.html#4.3 > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org -- Brad Nicholson 416-673-4106 Database Administrator, Afilias Canada Corp.
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера