Skip site navigation (1) Skip section navigation (2)

Re: Copy To - fixed width

From: "Adam Lang" <aalang(at)rutgersinsurance(dot)com>
To:
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Copy To - fixed width
Date: 2000-08-23 14:42:50
Message-ID: 00d601c00d10$696776c0$330a0a0a@Adam (view raw or flat)
Thread:
Lists: pgsql-sql
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(at)rutgersinsurance(dot)com>
Cc: <pgsql-sql(at)postgresql(dot)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.


In response to

pgsql-sql by date

Next:From: Andreas TilleDate: 2000-08-23 14:49:31
Subject: Create table in functions
Previous:From: Adam LangDate: 2000-08-23 14:38:00
Subject: Copy To - fixed width

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group