Re: Execute A String of Query - Mailing list pgsql-admin

From Stephan Szabo
Subject Re: Execute A String of Query
Date
Msg-id 20020122211939.Q12547-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Execute A String of Query  ("lonh SENG" <slonh@camgsm.com.kh>)
List pgsql-admin
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.


pgsql-admin by date:

Previous
From: Daniel Andersen
Date:
Subject: Re: Execute A String of Query
Next
From: "Nick Fankhauser"
Date:
Subject: Re: Execute A String of Query