Re: Inserting data from one table to another

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: Inserting data from one table to another
Дата
Msg-id bddc86151002170517n22b1675ap31d04a153b359048@mail.gmail.com
обсуждение исходный текст
Ответ на Inserting data from one table to another  (Krzysztof Walkiewicz <bars0@op.pl>)
Список pgsql-novice
On 17 February 2010 13:02, Krzysztof Walkiewicz <bars0@op.pl> wrote:
> Hi everybody!
>
> I try to insert data from one table to another with:
>
> INSERT INTO L_klienci_wysylka ('id_klienta','data_wys')(SELECT
> 'ID','data_wys' FROM 'I_klienci')
>
> but I get:
>
> 4: Table not found in statement [INSERT INTO L_klienci_wysylka]
>
> I'm sure that table L_klienci_wysylka exist because I can enter the data
> manually.
> I am using OpenOffice Base 3.2.0 with HSQL engine.
>
> I know that this is PostgreSQL mailing list, but I can't get the answer from
> OOBase mailing list.
>
> Krzysztof

You've specified the table in the select statement as a value.  Remove
the single quotes.

Regards

Thom

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

Предыдущее
От: Krzysztof Walkiewicz
Дата:
Сообщение: Inserting data from one table to another
Следующее
От: Thom Brown
Дата:
Сообщение: Re: Inserting data from one table to another