How do you import from CSV into SQL Server with a double text qualifier? -


i have problem sql import csv file contains text qualifier = "¬¬" i.e. part between inverted commas. when use sql server management studio import tool set following:

import wizard

the preview (all looks - way import): enter image description here

the output after import (the problem):

enter image description here

this replaces text qualifier with: "¬¬"

i appreciate ideas on how correct issue thanks.

it seems ssms not "¬¬" text qualifier reasons unknown (perhaps relating encoding standard) , found easier find , replace qualifier "^^^" using notepad++. after importing files again, new qualifier worked without further issues.

--update-- not sure why did not seem obvious before using odd output "¬¬" text qualifier solved problem better! bear in mind preview text output using import wizard appear being incorrect final output reflects correctly!


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -