Re: int4 to varchar length (pgadmin3) issue

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: int4 to varchar length (pgadmin3) issue
Дата
Msg-id 20060831201453.29115.qmail@web31805.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: int4 to varchar length (pgadmin3) issue  (<operationsengineer1@yahoo.com>)
Список pgsql-novice
> this is an additional defined constraint, correct?

Yes, it will add a constraint to your table that specifically works on that particualar field.

> is
> this constraint added automagically by pgadmin when
> you  enter a length value or is this a different
> method to achieve a similar result?

I am not exactly sure what your question is, but the ALTER TABLE <...> is a Data Definition
statement. Once the statement comments, then any future attempts by any connection to
update/insert will blocked if the data doesn't meet the constraint criteria.

Regards,

Richard Broersma Jr.


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

Предыдущее
От: Ray Stell
Дата:
Сообщение: admin technical training
Следующее
От: "Phillip Smith"
Дата:
Сообщение: Re: moving content of a table to another table