Default values?

Поиск
Список
Период
Сортировка
От brichard@cafod.org.uk (Bruce Richardson)
Тема Default values?
Дата
Msg-id 20010217173017.A2363@usb.cafod.org.uk
обсуждение исходный текст
Список pgsql-general
If I wanted to create a table in such a way that the default value of
one column is the value of another column (or the oid value), is there
a way to do that in the CREATE TABLE statement (with the DEFAULT
keyword, I'd imagine)?  Or would I need to create a trigger?

--
Bruce

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

Предыдущее
От: brichard@cafod.org.uk (Bruce Richardson)
Дата:
Сообщение: Function reference
Следующее
От: John Madden
Дата:
Сообщение: DBD::Pg problem?