Ciao a tutti.
Stavo cercando di fare una procedura, ma non riesco a capire come chiamarla.
Nella pagina:
http://www.html.it/pag/32156/stored-...red-functions/

c'é scritto che basta eseguire i comandi:

CALL nomeProc (5, @a);
SELECT @a;


Ma eseguendi questi due comandi in MYSQL (io uso PhPAdmin):
ho come risultato @a = NULL.

Allora ho provato ad eseguire i comandi simultaneamente, pensando che forse @a non viene memorizzato e quindi perso. Quindi ho lanciato:

DELIMITER ;;
CALL nomeProc (5, @a);
SELECT @a;;
DELIMITER ;


ottenendo l'errore:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT @a' at line 2.

Come devo fare?

Grazie