What Is CSV?

Comma-separated values (CSV) files are simple text files that contain data for a database table. Each line of a CSV file makes up one entry for the database. Each field for the table is separated, as the name dictates, by a comma. CSV files have cross-platform and cross-application support. CSV files can be used to export and import between two different programs that might require quite different forms of input or output.

  1. History

    • Computers from 1967 have shown to support comma-separated values files. The CSV file type, as a simple text-only format, was easily developed and stored. CSV files predated personal computers, but due to their compatibility, ease and multi-purpose uses, are still used by all computer platforms. CSV files are known as flat files.

    Comma-Separated Values Standards

    • Unlike most file formats in modern computing, a detailed set of specification standards does not exist for the CSV file type. However, when CSV files are interpreted online, the Internet Engineering Task Force defined a set of standards for the web format "text/csv."

    Rules of CSV

    • CSV files store plain-text data as if it were a database table. A comma separates each column, and a new line separates each row. CSV files can be imported into spreadsheet programs such as Microsoft Excel, which will separate each value and place it in the table as desired.

    Additional Rules

    • If you need to use a term that has a comma in it inside the CSV file, you can use quotation marks to embed it, such as "Town, AZ." Likewise, if you need to use quotation marks, you have to use quotation marks on either side of the quote, for example ""Hi," he said."

    Support

    • Any text editor, such as Notepad in Microsoft Windows or TextEdit for Apple Mac OS, can open, read and edit CSV files in their plain-text form. More commonly, however, CSV files will be used by spreadsheet or database software. Modern database applications have options to set the delimiter to other symbols instead of commas.

Related Searches:

References

Comments

You May Also Like

  • What Is a CSV File Extension?

    CSV stands for "comma seperated values." It is one type of plain text file. The only difference between a .csv file and...

  • What Is a CSV File?

    If you find or receive a .csv file on your computer you might not know what it is. A .csv file, or...

  • How to Convert a CSV File

    A CSV file is a comma-delimited text file--often used for address books or contact lists--that you can open in a spreadsheet program...

  • How to View a CSV File

    In the context of computer files, "CSV" stands for "Comma Separated Values." CSV files are the de facto standard way of storing...

  • How to Save As CSV File in Excel

    Comma separated value (CSV) files are text files formatted as a spreadsheet. CSV files are created to import information into a database....

  • How to Use Commas to Separate Data in Excel

    Microsoft Excel gives you a variety of options to enter data into cells. Choose from currencies such as the pound or dollar,...

  • Definition of a CSV File

    CSV files are a standard means of moving data from one application to another. Most programs that store information in a database,...

  • How to Use a Comma Inside Quotation Marks in a CSV File

    CSV stands for "Comma Separated Values." Most spreadsheet and database programs can open CSV files. CSV files work in a more universal...

Related Ads

Featured