From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: lonh SENG <slonh@camgsm.com.kh>
Cc: pgsql-admin@postgresql.org
Subject: Re: Execute A String of Query
Date: Tue, 22 Jan 2002 21:21:00 -0800 (PST)
Message-ID: <20020122211939.Q12547-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <014801c1a3b3$6f4c9d50$320010ac@idlonh>
On Wed, 23 Jan 2002, lonh SENG wrote:
> Hi all,
>
> I am really new to Postgres. But I am familiar with SQL Server.
>
> I want import data from delimiter file.
> How can I do this?
> My delimiter file is as following:
>
> uid|username
> ----+---------
> 2974|012801849
> 3883|012950864
> 6015|012990918
> 4512|012854963
> (4 rows)
>
> Anyone has an idea?
Well, if you trim off the header/footer info, you can probably
read the data using COPY.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: sszabo@megazone23.bigpanda.com, slonh@camgsm.com.kh
Subject: Re: Execute A String of Query
In-Reply-To: <20020122211939.Q12547-100000@megazone23.bigpanda.com>
References: <014801c1a3b3$6f4c9d50$320010ac@idlonh> <20020122211939.Q12547-100000@megazone23.bigpanda.com>
* 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