MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » December 2013

Re: SQL output to csv



fixed

On Wed, Dec 4, 2013 at 9:12 PM, Narayanan R Pillai <strqst400@xxxxxxxxx> wrote:
However, the default behaviour [of Excel] is not RFC compliant.

Yes it is. Immediately preceding the comment about Excel, it says

"Each field may or may not be enclosed in double quotes"

Which really doesn't say much. In terms of pure logic, it's saying
absolutely nothing. In English, it is saying that double-quotes are
not required, but are permitted, and thus if you want to read CSVs,
you should be on the lookout for double-quotes. It's perfectly fine,
according to the RFC, for a field to be enclosed in double-quotes, or
not enclosed at all. Excel chooses the latter.

John





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact