Re: Load Text File into DB

From: larry a price <laprice(at)efn(dot)org>
To: "Karl J(dot) Stubsjoen" <karlflips(at)kstub(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Load Text File into DB
Date: 2001-04-14 02:08:31
Message-ID: Pine.GSU.4.21.0104131906590.3536-100000@garcia.efn.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

COPY tablename FROM '/home/path/filename';

with the table created with proper columns

Larry Price | "We have seen the truth.
laprice(at)efn(dot)org | And the truth makes no sense." -chesterton
_______________________________________________________________

On Wed, 11 Apr 2001, Karl J. Stubsjoen wrote:

> Hello,
>
> I have a tab delimited text file located on the server and would like to
> load this into a table. How do I accomplish this?
>
> Thanks!
>
> Karl
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lamar Owen 2001-04-14 02:08:52 Re: anti Christian bias?
Previous Message Karl DeBisschop 2001-04-14 01:44:17 Re: anti Christian bias?