How to define fixed validation tables

Поиск
Список
Период
Сортировка
От David A. Cobb
Тема How to define fixed validation tables
Дата
Msg-id CAM7KwpMZnQBqz7_F+mZj7MO3GXWcV3F6yObpP4xadRFX3Ma35w@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to define fixed validation tables  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-novice
My planned database has a field with a rather small list of valid codes.
I want to include validation in processing inputs, probably with a CHECK
rolecode IN ...something....
The validation table is not intended to be alterable by the user.
As a table it is as simple as (code: CHAR(2), meaning TEXT);
The values should be fixed as part of the definition process.

Please, How-To?
--
David A Cobb, computing dinosaur (Cobol-o-saurus Rex)
--
"I am, by God's grace, a Christian man; by my actions a great sinner" --
Way of a Pilgrim, anon. Russian, R.M.French, tr.


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

Предыдущее
От: Mike
Дата:
Сообщение: Re: LibreOffice Base Connect to postgresql
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: How to define fixed validation tables