Browse files


  • Loading branch information...
matt40k committed Dec 3, 2017
1 parent c8750ba commit 550cd2e66d9336a0aa722849ba92126842406d33
Showing with 1 addition and 1 deletion.
  1. +1 −1 content/posts/
@@ -13,7 +13,7 @@ tags:
Another day, another source of bad data. This time, it was a CSV.
{{< gist matt40k d30ab2858a1c2601606f8b2841ad3440 "file-troublesome.csv" >}}
{{< gist matt40k d30ab2858a1c2601606f8b2841ad3440 "troublesome.csv" >}}
As you can see, the format changes mid file. This makes importing tricky.
The way I tend to handle importing into SQL is to create staging tables with all the columns defined as varchar, then, once its imported into SQL, then convert it.

0 comments on commit 550cd2e

Please sign in to comment.