I am bulk inserting a CSV file into SQL server but after examining the result I realised an issue from the CSV file. The contents of the first name column in the CSV file are comma separated and hence are moved into the next column causing a domino effect.(e.g. Let's say the column names are First Name, Number, and Address. The first Name column has a name called James, Bond. Due to the comma, it is moved to the Number comma and hence the supposed data for Number column is also shifted to the address column. Does anyone have any ideas on how I can rectify this in SQL server.
Bond, James, 2must be split as|Bond, James|2and not asBond|James|2. But if the data for the first two columns isBond, James, Blofeld, Ernstthen you have a real problem. If the data is in Excel then it's already structured so you can use SSIS or another tool to get the data.