Re: type conversion

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: type conversion
Дата
Msg-id B8AA483B-D4DE-4A76-97C0-B95AC246D373@pgedit.com
обсуждение исходный текст
Ответ на type conversion  (manaus <s_incocciati@hotmail.com>)
Список pgsql-novice
On Sep 13, 2009, at 1:31 PM, manaus wrote:

> I created a table with integer instead of boolean, but now I need to
> change it. PdAdmin wont let me do it. Should I drop the (empty)
> table and start again?


See the SQL command ALTER TABLE and read the section on ALTER
[ COLUMN ] column [ SET DATA ] TYPE type [ USING expression ].

http://www.postgresql.org/docs/8.4/interactive/sql-altertable.html


John DeSoi, Ph.D.





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

Предыдущее
От: Tim Bowden
Дата:
Сообщение: Re: qualified names
Следующее
От: Harshad RJ
Дата:
Сообщение: Re: Reason for PG being seemingly I/O bound?