csv file definition

Posted on 1998-04-29
Last Modified: 2010-04-06
Can anyone explain the difference between a comma seperated value/variable (.csv) file and a comma delimited ascii file. CSV files seem to have headers with field definitions - is this always the case?

Thanks, Tom.
Question by:tomcorcoran
  • 3
  • 2

Expert Comment

ID: 1339470
Our office uses the .csv file when we need to debug the data file.  Since the file is always loaded into Excel, it proves to be beneficial to have the headers visible.  I would say that it is not always the case to have the headers, but it make it a lot easier to find fields.

Accepted Solution

peter_vc earned 40 total points
ID: 1339471
CSV files and comma delimited files generally refer to the same thing.  The one with headers in them make it possible to use those files with things like ODBC, and as scott007 said, as column headers when importing into spreadsheets.

The actual grammar of the file depends on whoever wrote the software.  Most times string fields will have quotes surrounding them and numeric fields will not.  As far as the headers go, most do not have headers (at least from all the ones I've ever seen).


Author Comment

ID: 1339472
Peter_vc, so wahta you are saying is that most of the time csv files and comma delimited files are one and the same?
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.


Author Comment

ID: 1339473
Peter_vc, so what you are saying is that most of the time csv files and comma delimited files are one and the same?

Expert Comment

ID: 1339474
I'd have to say that all of the time csv files and comma delimited files are one and the same.

Author Comment

ID: 1339475
Well, pesonally I have never seen a header in a traditional comma-delimited file but maybe you can get them...

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question