-1

i have sql table of columns id,version,setting_key,setting_value

and i want to change the default_encodingfrom LATIN1to UTF8for all mcs(13 or 14 or 15 or .. )

i made this

UPDATE bo_user_setting SET setting_value = 'UTF8' WHERE setting_key = 'DEFAULT_ENCODING';

but it doesn't work .. any help ??

thanks in advance

Jaiprakash
  • 599
  • 2
  • 7
mmm mmm
  • 33
  • 5

1 Answers1

0

You need alter table not update

  ALTER TABLE tbl_name CONVERT TO CHARACTER SET utf8;
ScaisEdge
  • 131,976
  • 10
  • 91
  • 107