Load or Copy ??

From: "Sebastian" <hallogammler(at)aol(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Load or Copy ??
Date: 2001-02-06 17:53:52
Message-ID: 95pdei$lmt$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi

What is wrong?

$result = pg_Exec($db,"COPY forum FROM {'datei.csv' | stdin} USING
DELIMITERS '|';");

I will load datei.csv into forum!

This is for MySQL:

$result = pg_Exec($db,"LOAD DATA INFILE 'datei.csv' INTO TABLE forum FIELDS
TERMINATED BY '|' LINES TERMINATED BY '\n'");

And for PostgreSQL:
????????????????????

Regards, Sebastian

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Brice Ruth 2001-02-06 18:07:03 Re: SQL Join - MySQL/PostgreSQL difference?
Previous Message Josh Berkus 2001-02-06 17:45:58 Re: [SQL] PL/PGSQL function with parameters