|
[John Y.:]
By now, several people have chimed in to corroborate what I had thought,
which is: no, there isn't some way for arbitrary text files to be used
directly by SQL. At least not yet. You always have to load the data into
a database first to work with it using SQL.
What most people are saying, and I have to agree, is that transferring
the data from the (entire) text file into a database is ultimately not a
big deal. It's a "separate step" but that step is not a very expensive
one, and if you are building a recurring process, it can be automated so
that you don't even see it happening.
--
<snip>
As long as the file is on the IFS, then yes, you can read directly from
the file. I posted an example earlier in the thread, but the basics of
it are at
http://www.mcpressonline.com/tips-techniques/sql/techtip-using-sql-with-
ifs-text-files-part-2.html
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.