RE: converting .xls to delimited file

From: Jeff Eckermann <jeckermann(at)verio(dot)net>
To: "'William Staniewicz'" <wstan(at)localhostnl(dot)demon(dot)nl>, pgsql-general(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org
Subject: RE: converting .xls to delimited file
Date: 2001-01-10 15:47:42
Message-ID: 08CD1781F85AD4118E0800A0C9B8580B09488E@NEZU
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

Excel can do this for you, if you use File -> Save As...
You will find various file types available. The list will vary according to
the completeness of your Excel installation. I believe that at minimum you
should have "tab delimited text" available, and probably csv as well (don't
use csv, it's evil). If I'm wrong, you'll need to get the MS Office CD and
reinstall Excel with more options checked...
If you want to import the result into Postgres, beware of CR characters, and
leading/trailing spaces in your fields. Excel will tolerate those spaces in
non text-type fields, but Postgres will not.

> -----Original Message-----
> From: William Staniewicz [SMTP:wstan(at)localhostnl(dot)demon(dot)nl]
> Sent: Wednesday, January 10, 2001 10:23 AM
> To: pgsql-general(at)postgresql(dot)org; pgsql-novice(at)postgresql(dot)org
> Subject: [GENERAL] converting .xls to delimited file
>
> Is there any way to convert an Excel file (".xls")
> to a delimited file? Maybe using sed?
>
> Bill

Browse pgsql-general by date

  From Date Subject
Next Message Mirko Zeibig 2001-01-10 16:02:28 variable name RESULT in PLPGSQL does not work (PG7.1)
Previous Message Adam Lang 2001-01-10 15:40:57 Re: xml middleware

Browse pgsql-novice by date

  From Date Subject
Next Message chris Gnther 2001-01-10 16:06:56 how does setval() work???
Previous Message Alfonso Peniche 2001-01-10 15:32:18 Re: converting .xls to delimited file