Re: alter table change enum set

2001-05-17 Thread Sweeney, Nicole
What if I have the following: enum('foo','bar','baz') default 'bar' not null. What if I want to change the value of "bar" to "bee"? What is the best way to implement this in mysql? What if I want to change the default value? Nicole Sweeney Software Configuration Engineer Akamai Technologies

Re: alter table change enum set

2001-05-15 Thread Sweeney, Nicole
I have a similar mysql enum question. What if I have the following: enum('foo','bar','baz') default 'bar' not null. What if I want to change the value of "bar" to "bee"? What is the best way to implement this? Nicole Sweeney Software Configuration Engineer Akamai Technologies 858-909-3654 work 8

Re: alter table change enum set

2001-05-15 Thread Gerald Clark
DEFAULT 'added'; ? Abraham Ingersoll wrote: > Can anyone shed light on why this doesn't work, and perhaps tell me how I > can ALTER the enum values .. or is this just not possible? > > mysql> ALTER TABLE nt_zone_record_log CHANGE COLUMN action action >ENUM('added','modified','deleted')

RE: alter table change enum set

2001-05-15 Thread Ravi Raman
hi. put quotes around 'added'. -ravi. -Original Message- From: Abraham Ingersoll [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 2:40 PM To: [EMAIL PROTECTED] Subject: alter table change enum set Can anyone shed light on why this doesn't work, and perhaps tell me how I can ALTE

Re: alter table change enum set

2001-05-15 Thread Zak Greant
You need to quote the default value. --zak - Original Message - From: "Abraham Ingersoll" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 15, 2001 12:39 PM Subject: alter table change enum set > > Can anyone shed light on why this doesn't work, and perhaps tell me how I