Re: Inserting Default Values

Поиск
Список
Период
Сортировка
Искать
От
postgresql@fruru.com
Тема
Re: Inserting Default Values
Дата
Msg-id
Pine.LNX.4.44.0202071815510.6427-100000@mail.conostix.com
Ответ на
Список
Дерево обсуждения
Inserting Default Values Mike Barrett <mike@daboyz.org>
Re: Inserting Default Values postgresql@fruru.com
On Thu, 7 Feb 2002, Mike Barrett wrote:
> 	It inserts just fine, automatically taking the default value for
> id.  However, the table I'm actually using is the reverse of the previous.
> Example:
> 
> [Table name 'status']
>  id        | integer               | not null default
> nextval('"status_id_seq"'::text)
>  name      | character varying(32) |
> 
> sql=> insert into test values (,'blah');

insert into test (name) values ('blah');

-- 
Tycho Fruru			tycho.fruru@conostix.com



В списке pgsql-general по дате отправления
От: Mike Barrett
Дата:
Сообщение: Inserting Default Values
От: Doug McNaught
Дата:
Сообщение: Re: Inserting Default Values
FAQ