Below is a row I bcp'ed from a Sybase 12.5.2 server, the columns are comma delimited:
12345,JOHN,DOE,,,,,,Hello Word, Hello Moon, Hello Sun,abcd,bacu,,,,,,,,
(note that some of the columns are actually empty)
The problem is that data in some of the columns are actually contain commas, for example this column:
Hello Word, Hello Moon, Hello Sun
I need the delimiter to be comma, my question is, is there a way for me to force the data for each column to be wrapped in double-quotes (without using Unix shell commands) ? So now I will now have something like this:
"12345","JOHN","DOE","","","","","","Hello Word, Hello Moon, Hello Sun","abcd","bacu","","","","","","","",""