0

How to convert Banks’ to bank's in db. all records to add Banks’ like this. how can print with Banks’ in screen.

Karthick Kumar
  • 77
  • 1
  • 12

1 Answers1

1

You can use

 SELECT REPLACE('Banks’', 's’', ''\s') from table_name
Tushar
  • 3,527
  • 9
  • 27
  • 49
  • i have 1000 records how can know that particular word? example that word Banks’' ask to u. in my database bank's and college's this are convert and store Banks’',college€™' like this. how to remove all records in my database...? – Karthick Kumar Mar 05 '15 at 09:51
  • 1
    Okay... What is the common string attached to the strings due to collation problem? is it just e€™? If 'Yes' the above query can be modified. – Tushar Mar 05 '15 at 09:53
  • 1
    http://stackoverflow.com/questions/10177208/update-a-column-value-replacing-part-of-a-string This may be helpful for you :) – Tushar Mar 05 '15 at 09:58
  • am retrieving data in ajax this character inside db means cannot load ajax function how to solve this problem – Karthick Kumar Mar 05 '15 at 09:59
  • 1
    Okay.. Let me try with it. If I get the solution; shall Tell you :) – Tushar Mar 05 '15 at 10:00
  • s i modified but not working ajax function i give like this remove all collation. bank words how to remove another words. how to stop collation adding in db? SELECT REPLACE('Banks’', 's’', '\s') from table_name – Karthick Kumar Mar 05 '15 at 10:01