Modify column type

Поиск
Список
Период
Сортировка
От Scott David Walter
Тема Modify column type
Дата
Msg-id 3329.65.206.3.249.1029775533.squirrel@webmail.geneseo.edu
обсуждение исходный текст
Ответы Re: Modify column type
Список pgsql-sql
Is there a way to modify the type of an existing column?  All I actually
want to do is extend the length of the type from a VARCHAR(6) to
VARCHAR(100).

        Column         |         Type          |       Modifiers
------------------------+-----------------------+------------------------email                  | character varying(6)
|not null
 


gold_program=> ALTER TABLE student MODIFY email varchar(100);
ERROR:  parser: parse error at or near "modify"





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

Предыдущее
От: Mathieu Arnold
Дата:
Сообщение: sql subqueries problem
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: sql subqueries problem