Re: multiple row insertion

Поиск
Список
Период
Сортировка
От Mikko Partio
Тема Re: multiple row insertion
Дата
Msg-id 2ca799770710040434l296b5a95o7e62354c3485d5a8@mail.gmail.com
обсуждение исходный текст
Ответ на multiple row insertion  ("test tester" <test896@gmail.com>)
Список pgsql-general


On 10/4/07, test tester <test896@gmail.com> wrote:
In MySQL, I can insert multiple rows like this:

insert into cars values(5, "toyota"),(5,"ford"), etc.


How can I do something similiar in PostgreSQL?

Exactly the same way. Make sure though that your pgsql is new enough version (8.2 ?).

Regards

MP


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

Предыдущее
От: "test tester"
Дата:
Сообщение: multiple row insertion
Следующее
От: Stefan Schwarzer
Дата:
Сообщение: Re: Find min year and min value