Re: Issues with converting update command to trigger
Error
SQL query: Documentation
CREATE TRIGGER add_desc BEFORE insert on telemetry_log FOR EACH ROW
set new.device_desc = ( select device_desc from id_name_device where device_id=new.device_id );
end;
MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'end' at line 3
Subject
Views
Written By
Posted
1120
July 01, 2020 09:29AM
550
July 01, 2020 09:33AM
469
July 01, 2020 02:07PM
491
July 02, 2020 05:55AM
479
July 02, 2020 11:59AM
817
July 02, 2020 07:10PM
524
July 02, 2020 09:45PM
Re: Issues with converting update command to trigger
522
July 03, 2020 02:53AM
473
July 03, 2020 07:17AM
492
July 03, 2020 10:43AM
458
July 03, 2020 07:46PM
501
July 15, 2020 05:33AM
502
July 15, 2020 10:33AM
534
July 15, 2020 11:02AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.