Skip to content

Instantly share code, notes, and snippets.

@rrajendran
Created June 16, 2013 14:18
Show Gist options
  • Save rrajendran/5792213 to your computer and use it in GitHub Desktop.
Save rrajendran/5792213 to your computer and use it in GitHub Desktop.
$$
CREATE PROCEDURE simpleproc (OUT param1 INT)
BEGIN
SELECT COUNT(*) INTO param1 FROM t;
END
$$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment