Re: How to convert a binary filed to an integer field?

Поиск
Список
Период
Сортировка
От Arjen Nienhuis
Тема Re: How to convert a binary filed to an integer field?
Дата
Msg-id AANLkTi=V-ODps60Y9Lz+L-JQsFakrvFyYE3Ly=i5qQKv@mail.gmail.com
обсуждение исходный текст
Ответ на How to convert a binary filed to an integer field?  (wei725@lycos.com)
Ответы Re: How to convert a binary filed to an integer field?  (wei725@lycos.com)
Re: How to convert a binary filed to an integer field?  (wei725@lycos.com)
Список pgsql-general


On Wed, Aug 25, 2010 at 9:29 PM, <wei725@lycos.com> wrote:
I have an application in the product. Now, one status field needs to have three statuses instead of two. How to make a such change in PostgreSQL?

ALTER TABLE product ALTER status TYPE int USING status::integer;

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

Предыдущее
От: Vick Khera
Дата:
Сообщение: Re: Feature proposal
Следующее
От: "Gnanakumar"
Дата:
Сообщение: Is TRUNCATE a DML statement?