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:
the preview (all looks - way import):
the output after import (the problem):
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
Post a Comment