I`m creating a desktop application which need s to store some data. I would probably store no more than 100rows with 10-15cells. Question is, should I use csv or an sql database; which one is accessed faster ?
claudiu_is
0
Light Poster
Recommended Answers
Jump to PostIt depends on how you need to access the data, but I would imagine the simple file would suffice. You don't mention what the data is, but basically you have the equivalent of a single table. With file-based storage you will need to write the methods yourself if you want …
Jump to PostThat's a good question. For this small amount of data you can work with cvs or xml files. Setting up the database and making it work in your code will take longer that doing so for the text files.
However, parsing files is easy but it is slow, so …
All 8 Replies
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
Black Box
28
Junior Poster in Training
claudiu_is
0
Light Poster
Black Box
28
Junior Poster in Training
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
claudiu_is
0
Light Poster
Black Box
28
Junior Poster in Training
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.