Best way to import XML Files
Kenneth Brody
kenbrody at bestweb.net
Fri Jun 18 17:59:41 PDT 2004
George Simon wrote:
>
> If I'm still limited by the 32K field size, what is the difference?
[...]
> -----Original Message-----
> From: Kenneth Brody [mailto:kenbrody at bestweb.net]
[...]
> If you're going to read the entire file in one gulp anyway, why not just
> use the file I/O functions instead?
>
> Just remember that you're still limited to the 32K-1 field size.
First, you don't have to hope that the specified character never appears
in the file. Second, you don't have to make sure that PFIMPBUF has been
set to allow everything to be slurped at once. Third, you can read the
file in chunks if necessary, without having to worry that an IMPORT will
truncate the data because it didn't hit a record delimiter before reading
the maximum input length.
--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody at spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
More information about the Filepro-list
mailing list