Add 'CHECK( length(fieldname) > 0 )' to a field

Поиск
Список
Период
Сортировка
От Daniel Seichter
Тема Add 'CHECK( length(fieldname) > 0 )' to a field
Дата
Msg-id s2b83918.014@HBC-N4.hbccr.de
обсуждение исходный текст
Список pgadmin-support
Hello,

I have to let postgreSQL check the length of some fields in a database.
So I want to add the SQL Code "CHECK( length(fieldname) > 0 )" to some
fields so that the check will be executed during INSERT statement.
With the properties dialog I can't add the CHECK statement, so maybe it
isn't possible or I have to take a look to something. But to what?

Thank you in advance

Daniel Seichter


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

Предыдущее
От: Larry Morroni
Дата:
Сообщение: Re: Scroll Cursor Bug?
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: Add 'CHECK( length(fieldname) > 0 )' to a field