UPDATE table_name SET name='rom' WHERE Country='ra'm'
I have old data with quote on it and i cannot use WHERE clause because of it. How can I use WHERE clause on it even by escape it considers as different. like ra'm is not equal to ra\'m.
UPDATE table_name SET name='rom' WHERE Country='ra'm'
I have old data with quote on it and i cannot use WHERE clause because of it. How can I use WHERE clause on it even by escape it considers as different. like ra'm is not equal to ra\'m.
Try using double quotes instead.
UPDATE table_name SET name='rom' WHERE Country="ra'm"