pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Lang <aalang@rutgersinsurance.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Copy To - fixed width
Date: Wed, 23 Aug 2000 10:42:50 -0400
Message-ID: <00d601c00d10$696776c0$330a0a0a@Adam> (raw)
References: <Pine.LNX.4.21.0008231544590.22247-100000@wr-linux02.rki.de>
	<00b001c00d0f$bc730920$330a0a0a@Adam>

Sort of nevermind, can I can save it tab delimited, but I am still curious
if it can be done using fixed width fields.


Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
----- Original Message -----
From: "Adam Lang" <aalang@rutgersinsurance.com>
Cc: <pgsql-sql@postgresql.org>
Sent: Wednesday, August 23, 2000 10:38 AM
Subject: [SQL] Copy To - fixed width


> 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.




view thread (2+ messages)

Message-ID: <00d601c00d10$696776c0$330a0a0a@Adam>
Permalink:  ../00d601c00d10$696776c0$330a0a0a@Adam/
Also on:    postgresql.org/message-id/00d601c00d10$696776c0$330a0a0a@Adam

 · 

reply

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-sql@postgresql.org
  Cc: aalang@rutgersinsurance.com
  Subject: Re: Copy To - fixed width
  In-Reply-To: <00d601c00d10$696776c0$330a0a0a@Adam>
  References: <Pine.LNX.4.21.0008231544590.22247-100000@wr-linux02.rki.de> <00b001c00d0f$bc730920$330a0a0a@Adam> <00d601c00d10$696776c0$330a0a0a@Adam>

* 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