Re: Alter Table Auto_Increment
От | Thom Brown |
---|---|
Тема | Re: Alter Table Auto_Increment |
Дата | |
Msg-id | AANLkTinqaiR+GXR0OyanJyV-cK9DQs+tVZrLQWSg3i=C@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Alter Table Auto_Increment (Carlos Mennens <carlos.mennens@gmail.com>) |
Ответы |
Re: Alter Table Auto_Increment
|
Список | pgsql-general |
On 20 September 2010 19:54, Carlos Mennens <carlos.mennens@gmail.com> wrote: > On Mon, Sep 20, 2010 at 2:43 PM, A.M. <agentm@themactionfaction.com> wrote: >> DEFAULT > > Sorry just to be clear you're saying that I need to enter the command as: > > INSERT INTO table_name DEFAULT VALUES ( > 'data', > 'data', > 'data', > 'data', > '2010-09-20' > ); > Well, you can use the DEFAULT value if you wish: INSERT INTO table_name ( DEFAULT, 'data', 'data', 'data', 'data', '2010-09-20' ); Where the keyword DEFAULT appears, it will, as you'd expect, use the default value for that column. -- Thom Brown Twitter: @darkixion IRC (freenode): dark_ixion Registered Linux user: #516935
В списке pgsql-general по дате отправления: