From: rodneyr@embratel.com.br
To: pgsql-interfaces@hub.org
Subject: Inserting data into PostgreSQL
Date: Wed, 18 Aug 1999 20:54:50 -0300
Message-ID: <032567D1.008359C1.00@ntrjo008.nt.embratel.com.br> (raw)
How can I inserting data from a file into PostgreSQL? I've tried the
following SQL command, but it didn't work:
INSERTO INTO table_name
(column_name[, ...])
FROM FILE 'file_name' (data_type, ...)
I received the message:
ERROR: parser: parse error at or near "from"
Besides, which caracter must we use to separate the columns into the file?
I used ",". Is it correct?
Thanks,
Rodney.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: rodneyr@embratel.com.br, pgsql-interfaces@hub.org
Subject: Re: Inserting data into PostgreSQL
In-Reply-To: <032567D1.008359C1.00@ntrjo008.nt.embratel.com.br>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox