Nikos
01-18-2008, 02:55 AM
In MySQL does it ever make sense to have a ON UPDATE CASCADE option in a ENUM column.
This would be cool as If the column
`document_type` enum('publication','document') NOT NULL default 'document' ON UPDATE CASCADE
had 'publication' changed to 'paper' then all my inserts would be updated.
is this possible?
This would be cool as If the column
`document_type` enum('publication','document') NOT NULL default 'document' ON UPDATE CASCADE
had 'publication' changed to 'paper' then all my inserts would be updated.
is this possible?