Being a self-taught newbie, I created a large problem for myself. Before inserting data in to my database, I\'ve been converting apostrophes (\') in a string, to double quot
If you have "something" and need 'something', use replace(col, "\"", "\'") and viceversa.
replace(col, "\"", "\'")