Quantcast
Viewing all articles
Browse latest Browse all 30

re: Why you shouldn't open .csv files in Excel

"Is there a reason you'd need to keep the text delimiters in your original example?"

Good god yes. The reason being that that file may be destined to be consumed by some other process and if you've already opened the file in Excel and saved it you've put it into an unexpected state.

For example, I've built a process using SSIS that consumes such csv files that are provided by partner companies. My SSIS package will be expecting the files in a certain format, if you change that format then you run the risk that SSIS won't be able to load them (this is not a limitation of SSIS by the way before someone throwws that little chestnut at me :).

Fundamentally, if you open a file then close it (saving on the way) without making any changes then there should be no changes to the file. The point is, Excel changes the file without you knowing about it.

So, don't run the risk, use a text editor.


Viewing all articles
Browse latest Browse all 30

Trending Articles