× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Mon, Jun 17, 2019 at 5:03 PM Mike Loyd <mloyd@xxxxxxx> wrote:

I already have a script to get a XLS spread sheet to a data base file.

How does that script get the data into the database?

I have a simple script to read and print a CSV file. So, I need that piece to parse the CSV file and write the data.

I don't see why you can't use whatever you used to get the .xls data
into the database. The reading part is a little different, of course,
but the writing part should be the same.

There *is* a notable difference, which is that .xls data has
differentiated types for character and numeric, whereas CSV is
fundamentally all character. But depending on how you got the data
into the database for .xls, that might not matter.

I agree with the suggestion to use CPYFRMIMPF though, if your needs
are simple enough to be handled by that command.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.