Saari Development

Ali Rizvi's Technical Blog as a Professional Software Development Engineer

MySQL : Find out and change charset of a table

with one comment

show create table TABLE_IN_QUESTION;
-- show create table can tell you more than 
-- describe TABLE_IN_QUESTION including database engine
-- look towards the end for CHARSET=XXX
alter table TABLE_IN_QUESTION CONVERT TO CHARACTER SET latin1;
Advertisements

Written by imsaar

January 10, 2008 at 12:07 am

Posted in mysql

One Response

Subscribe to comments with RSS.

  1. Nice! Thanks for sharing!

    Joseph

    April 3, 2009 at 8:01 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: