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
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
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')
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
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