mysql - Variable in trigger doesn't work for me -
I am trying to create a new trigger like this. But it gives me an error. This trigger returns this kind of error You DELIMITER Email at SENT @ cnt = (SELECT count (*) by email ID where position = 'left'); If @cnt = 0 then - my question is Eid IF; END $$ DELIMITER;
for every line
Enter email for each line before email / post.
Comments
Post a Comment