Re: [INTERFACES] Inserting data into PostgreSQL

Поиск
Список
Период
Сортировка
От SUMA R
Тема Re: [INTERFACES] Inserting data into PostgreSQL
Дата
Msg-id Pine.LNX.4.04.9908190708210.31411-100000@blrmail.in.tatainfotech.com
обсуждение исходный текст
Ответ на Inserting data into PostgreSQL  (rodneyr@embratel.com.br)
Ответы ODBC & VB5
Список pgsql-interfaces
Hi,  U can insert the data from a file to the table using the copy command
  COPY table_name FROM 'filename' USING DELIMITERS 'del'

Better u give absolute pate when referring to the filename. 

On Wed, 18 Aug 1999 rodneyr@embratel.com.br wrote:

> 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.
> 
> 
> 
> ************
> Check out "PostgreSQL Wearables" @ http://www.pgsql.com
> 



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

Предыдущее
От: rodneyr@embratel.com.br
Дата:
Сообщение: Inserting data into PostgreSQL
Следующее
От: rjd@intekom.co.za
Дата:
Сообщение: ODBC & VB5