Re: Changing datatypes on the fly?

2002-03-11 Thread BD

At 02:59 PM 3/9/2002, you 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?

-Jarkko
Jarkko,
 If you want something easier than ALTER TABLE, try MySQL Front, a 
MySQL GUI from http://www.anse.de/mysqlfront/. It's free and you're less 
likely to shoot yourself in the foot with it.g

Brent


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-
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




Re: Changing datatypes on the fly?

2002-03-09 Thread Jeremy Zawodny

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