Hello,
Is it possible to update a sql table with fields that have commas in it?
I am writing a program that takes an excel sheet, and then converts it and uploads it to the sql server. The problem that I am having is that many of these excel sheets come with fields that have commas in them. For example product descriptions usually have a word or two with a comma in it. I previously searched for commas and took them out, but I feel this is not the correct thing to do. Also, after completing this program, I will be passing it to other employee's so they can upload the tables for me. So, if there is commas in the fields the program will error out.
Is there a way format a string so the comma's will not be a problem when updating a sql table?
-Mike
Is it possible to update a sql table with fields that have commas in it?
I am writing a program that takes an excel sheet, and then converts it and uploads it to the sql server. The problem that I am having is that many of these excel sheets come with fields that have commas in them. For example product descriptions usually have a word or two with a comma in it. I previously searched for commas and took them out, but I feel this is not the correct thing to do. Also, after completing this program, I will be passing it to other employee's so they can upload the tables for me. So, if there is commas in the fields the program will error out.
Is there a way format a string so the comma's will not be a problem when updating a sql table?
-Mike