Re: copy from

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: copy from
Дата
Msg-id Pine.BSF.4.10.10008151209240.87178-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: copy from  ("Adam Lang" <aalang@rutgersinsurance.com>)
Список pgsql-sql

On Tue, 15 Aug 2000, Adam Lang wrote:

> Gotcha. Now, if I do an insert and just don't specify that field at all, it
> will, use the default value, correct?  As long as I don't "touch" the field
> with anything it uses the default.

Right, as long as you don't specify the field in the column list.

There's a special case I should mention.  If you want to insert only
default values into all columns, the correct way is:
"insert into table default values" -- It usually doesn't come up,
but could if you had a table that was only a sequence value;



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

Предыдущее
От: "Michael Wagner"
Дата:
Сообщение: sql programming
Следующее
От: Webb Sprague
Дата:
Сообщение: Re: sql programming