Hallo zusammen
Erwartet = expected_hash
Tatsächlich = identify_hash
SET sql_notes = 0;
DROP TRIGGER IF EXISTS ´expected_hash_trigger´;
DELIMITER $$
CREATE TRIGGER ´expected_hash_trigger´
BEFORE UPDATE
ON clientdb_mapping FOR EACH ROW
BEGIN
IF NEW.identify_hash = clientdb_mapping.expected_hash
UPDATE clientdb_mapping SET clientdb_mapping.identify_hash = NEW.identify_hash;
END IF ;
DELIMITER ;
SET sql_notes = 1;
Weiss da jemand weiteres dazu?
Erwartet = expected_hash
Tatsächlich = identify_hash
SET sql_notes = 0;
DROP TRIGGER IF EXISTS ´expected_hash_trigger´;
DELIMITER $$
CREATE TRIGGER ´expected_hash_trigger´
BEFORE UPDATE
ON clientdb_mapping FOR EACH ROW
BEGIN
IF NEW.identify_hash = clientdb_mapping.expected_hash
UPDATE clientdb_mapping SET clientdb_mapping.identify_hash = NEW.identify_hash;
END IF ;
DELIMITER ;
SET sql_notes = 1;
Weiss da jemand weiteres dazu?