MySQL Forums
Forum List  »  Newbie

alter command issue....
Posted by: phunkodelic
Date: July 08, 2005 01:20PM

I have a column named eventlog in table tblevents that is type "text". I want to change it to type "varchar(256)"

Here is what I did:

alter table tblevents modify eventlog VARCHAR(256)

Here is what I got:

+---------+------+------------------------------------------------+
| Level | Code | Message |
+---------+------+------------------------------------------------+
| Warning | 1246 | Converting column 'eventlog' from CHAR to TEXT |
+---------+------+------------------------------------------------+

Why? and more importantly how do you trouble shoot problems like this?

Any help would be much appreciated.

Thanks!

Options: ReplyQuote


Subject
Written By
Posted
alter command issue....
July 08, 2005 01:20PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.