Posts by Richard Lucas • 3 points
1 post
-
-2
votes1
answer35
viewsQ: Create a Trigger with JOIN to duplicate the data
CREATE TRIGGER `copiadados`AFTER INSERT ON `wp_postmeta` AS DECLARE @nome NVARCHAR(50), @email NVARCHAR(50), @adicional NVARCHAR(255) SET @nome = (SELECT meta_value FROM wp_postmeta WHERE meta_key =…