Php Admin Trigger bloc if then
VOila j'ai un problème dans le trigger suivant )= et ca urg grave!!! lol
CREATE TRIGGER AJOUT BEFORE INSERT ON inscrit
FOR EACH ROW
BEGIN
DECLARE temp varchar(20);
DECLARE curs CURSOR FOR select motdepasse from inscrit;
FETCH curs INTO temp
if temp = New.motdepasse THEN
LEAVE ;
end if;
END $$
A chaque fois jai cette erreur la ....
#1064 - Erreur de syntaxe près de 'if temp = New.motdepasse THEN LEAVE end if; END' à la ligne 8
Si quelqu'un voit une solution =)
Cordialement
Subject
Views
Written By
Posted
Php Admin Trigger bloc if then
3630
May 05, 2012 07:24AM
2110
May 11, 2012 01:54AM
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.