| From: | Thom Brown <thombrown(at)gmail(dot)com> |
|---|---|
| To: | Krzysztof Walkiewicz <bars0(at)op(dot)pl> |
| Cc: | pgsql-novice(at)postgresql(dot)org |
| Subject: | Re: Inserting data from one table to another |
| Date: | 2010-02-17 13:17:08 |
| Message-ID: | bddc86151002170517n22b1675ap31d04a153b359048@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
On 17 February 2010 13:02, Krzysztof Walkiewicz <bars0(at)op(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thom Brown | 2010-02-17 13:43:20 | Re: Inserting data from one table to another |
| Previous Message | Krzysztof Walkiewicz | 2010-02-17 13:02:48 | Inserting data from one table to another |