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)
Список
Дерево обсуждения
Alter Table Auto_Increment Carlos Mennens <carlos.mennens@gmail.com>
Re: Alter Table Auto_Increment Thom Brown <thom@linux.com>
Re: Alter Table Auto_Increment Merlin Moncure <mmoncure@gmail.com>
Re: Alter Table Auto_Increment Thom Brown <thom@linux.com>
Re: Alter Table Auto_Increment Carlos Mennens <carlos.mennens@gmail.com>
Re: Alter Table Auto_Increment Adrian Klaver <adrian.klaver@gmail.com>
Re: Alter Table Auto_Increment Thom Brown <thom@linux.com>
On 20 September 2010 19:54, Carlos Mennens wrote: > On Mon, Sep 20, 2010 at 2:43 PM, A.M. 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 по дате отправления