Modifying check constraints

Поиск
Список
Период
Сортировка
От Paulo Jan
Тема Modifying check constraints
Дата
Msg-id 3BF2B778.6062582@digital.ddnet.es
обсуждение исходный текст
Ответы Re: Modifying check constraints  ("Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu>)
Re: Modifying check constraints  (Jason Earl <jason.earl@simplot.com>)
Re: Modifying check constraints  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-general
Hi all:

        Let's suppose I create a table with a CHECK constraint, like:

        CREATE TABLE blabla (id int, tipo varchar(8),
        CHECK tipo IN ('tipo1', 'tipo2', 'tipo3'))

        Can I change the CHECK constraint afterwards? For example, can I
add another value that "tipo" can have, or I'd have to recreate the
table?



                                                Paulo Jan.
                                                DDnet.

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

Предыдущее
От: Luis Amigo
Дата:
Сообщение: multiple hard disk
Следующее
От: "Bryan White"
Дата:
Сообщение: Re: multiple hard disk