It's a requeriment to use store procedures it's for a homework and for that I'm using a Laravel 8 and MySql. My store procedure is the next one:
CREATE PROCEDURE sp_obtener_entradas()
BEGIN
SELECT * FROM vale_de_entrada
WHERE Activo = 1 ORDER BY ID_vale_entrada DESC;
END
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire