Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- create and use procedure
- DROP PROCEDURE IF EXISTS getArticle;
- DELIMITER $$
- CREATE PROCEDURE getArticle(p_article VARCHAR(100))
- BEGIN
- SELECT * FROM intervention WHERE Code_article = p_article ;
- END$$
- DELIMITER ;
- CALL getArticle('00069') ;
Add Comment
Please, Sign In to add comment