dimanche 28 août 2016

what is mysql stored procedure if statement structure

CREATE PROCEDURE PROCEDURENAME() BEGIN IF ((CONDITION),SELECT 0, SELECT 1)); //not working IF condition THEN statement END IF; //not working IF condition statement //not working END

How should I properly write the if statement structure? Anyone have a working example? Please help me.

Aucun commentaire:

Enregistrer un commentaire