changing the size of a column without losing data

Поиск
Список
Период
Сортировка
От Mark Seftel
Тема changing the size of a column without losing data
Дата
Msg-id IOEPIFKAFJKHALEOJJHEKEEOCNAA.mark@trustemail.com
обсуждение исходный текст
Ответы Re: changing the size of a column without losing data  ("paul butler" <paul@entropia.co.uk>)
Re: changing the size of a column without losing data  ("paul butler" <paul@entropia.co.uk>)
Re: changing the size of a column without losing data  (AarniRuuhimäki / Megative Tmi / KYMI.com<aarni.ruuhimaki@kymi.com>)
Список pgsql-novice
hi,

How would i change a field which is currently char100 to char50?

have tried:
ALTER TABLE outlets MODIFY description varchar(50);

but get error:
parser: parse error at or near "modify"

what is the correct command.

Thx

Mark


В списке pgsql-novice по дате отправления:

Предыдущее
От: Rod Kreisler
Дата:
Сообщение: Re: Enforcing Case
Следующее
От: JDK
Дата:
Сообщение: Re: Enforcing Case