On Sat, Mar 09, 2002 at 10:59:52PM +0200, Jarkko Toivonen wrote:
>
> I have a column defined as varchar(255) in my MySql-database. Now I
> realized that there's not enough room for my inserts. Is there any
> chance to change it's datatype to tinytext without making an
> entirely new database and inserting data from the old one to it?

Sure, just use "ALTER TABLE" as described in the manual.

Jeremy
-- 
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878   Fax: (408) 349-5454   Cell: (408) 685-5936

MySQL 3.23.47-max: up 30 days, processed 1,025,822,488 queries (391/sec. avg)

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to