GoodPRLinks Review

Review on SEO and web evelpment tools and resources.

Review: CSV Format

June 15th, 2007 by Pankaj

CSV or Comma Separated Values file is the simplest way to store data and commonly used for transfer tabular data form from one format to another format. CSV files are text files with .csv extension and can be edited with Notepad or MS Excel. Each field in a CSV files are separated by commas and new records starts with a new line.

The main advantage of storing data as CSV file is that it can be exported to any other type of database such as Excel, MS Access, MS SQL, MySQL and other type and also can be imported from these database type to CSV. It also consumes less space for storing data then any other formats. This is the main reason that large databases backups are made in this format.

A typical example of CSV file is:

Name, Company Name, Address Line 1, Address Line 2, Zip, Tel, Fax
Stephen Tyler, ABC Inc., “24, PQ Street”, Some Town, 101010, 24-632-252, 24-632-252

If fields contains comma then it can escaped by embedding the field inside a set of double quotes. Like “24, PQ Street” in above example. More useful info on csv file escaping rules can be found at csvReader.

This is a sponsored Post.

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • StumbleUpon
  • Technorati
  • Furl
  • DZone
  • BlinkList
  • Netscape
Posted in Software |

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.