easy way to insert same value into 2 columns

Поиск
Список
Период
Сортировка
От Sebastian Boeck
Тема easy way to insert same value into 2 columns
Дата
Msg-id 3F8E67AB.5000603@freenet.de
обсуждение исходный текст
Ответы Re: easy way to insert same value into 2 columns
Список pgsql-general
Hello,

whats the most simple way to insert the same value into 2 colums of
the same table?
My table is looking like this:

  Spalte |   Typ   |     Attribute
--------+---------+----------------------
  id     | integer | default nextval ('public.zeit_id_seq'::text)
  pos_id | integer | default xxx

for the xxx i want the same value than id be inserted automatically

Regards

Sebastian


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: ODBC
Следующее
От: Csaba Nagy
Дата:
Сообщение: Re: easy way to insert same value into 2 columns