Frank asks Can MySQL Triggers Update Another Table?
Frank then sets his blog to only allow comments from registered Blogger users. Bad Frank, no comment for you.
If I could have commented, I would have shown him how it is done in the SampleDB:
–
– Table structure for table `film`
–
CREATE TABLE film (
film_id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
title VARCHAR(255) NOT NULL,
description TEXT DEFAULT NULL,
…
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
–
– Table structure for table `film_text`
–
CREATE TABLE film_text (
film_id SMALLINT NOT NULL,
title VARCHAR(255) NOT NULL,
description TEXT,
PRIMARY KEY (film_id),
FULLTEXT KEY idx_title_description …