Skip to content

Instantly share code, notes, and snippets.

@seanhandley
Created October 14, 2010 14:31
Show Gist options
  • Save seanhandley/626252 to your computer and use it in GitHub Desktop.
Save seanhandley/626252 to your computer and use it in GitHub Desktop.
DELIMITER $$
CREATE PROCEDURE find_the_id(IN the_id INT)
BEGIN
SELECT name FROM items WHERE id = the_id;
END $$
DELIMITER ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment