Inserting multiple values, was Re: solaris tarballs and pl/java

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Inserting multiple values, was Re: solaris tarballs and pl/java
Дата
Msg-id 4BC76DD7.1000500@iol.ie
обсуждение исходный текст
Ответ на Re: solaris tarballs and pl/java  (Ozz Nixon <ozznixon@gmail.com>)
Ответы Re: Inserting multiple values, was Re: solaris tarballs and pl/java  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
On 15/04/2010 20:44, Ozz Nixon wrote:
> Would this syntax work in PostgreSQL?
>
> |INSERT INTO MyTable (FirstCol, SecondCol)
> VALUES ('First',1),
> || ('||Second||',2),|
> | ('||Third||',3),|
> | ('||Fourth||',4),|
> | ('||Fifth||',5)||
> |
> Inserting 5 rows in a single Insert? (I am trying to implement this
> solution across many different backends) works on SQL Server 2008, need
> to make sure it will work on many others.

http://www.postgresql.org/docs/8.4/static/sql-insert.html


--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

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

Предыдущее
От: akp geek
Дата:
Сообщение: General Question about database -- redirection
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: solaris tarballs and pl/java