Copy To - fixed width

From: "Adam Lang" <aalang(at)rutgersinsurance(dot)com>
To:
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Copy To - fixed width
Date: 2000-08-23 14:38:00
Message-ID: 00b001c00d0f$bc730920$330a0a0a@Adam
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Is it possible to copy from a text file that has the fields as fixed width
with no delimiter to a table?

The other option is a CSV file... but then how do I handle if there is a
comma in one of the fields?

I'm transfering information from an AS/400 ... if it is into a text file, it
is fixed width, if I use Excel, it is Comma separated.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Adam Lang 2000-08-23 14:42:50 Re: Copy To - fixed width
Previous Message Tom Lane 2000-08-23 14:35:58 Re: Re: Date of creation and of change