Created
February 25, 2017 15:26
-
-
Save REPTILEHAUS/6a826f09db217300862bdab49b643837 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DELIMITER $$ | |
| CREATE DEFINER=`root`@`localhost` PROCEDURE `getMemeber_sproc`( | |
| IN `usersession` INT(11), | |
| OUT `output_name` VARCHAR(25) | |
| ) | |
| BEGIN | |
| SELECT name INTO output_name FROM members WHERE id = usersession; | |
| END$$ | |
| DELIMITER ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment