Skip to content

Instantly share code, notes, and snippets.

@AndrewRussellHayes
Created August 21, 2014 09:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewRussellHayes/a4a1d4f439f34f30806f to your computer and use it in GitHub Desktop.
Save AndrewRussellHayes/a4a1d4f439f34f30806f to your computer and use it in GitHub Desktop.
pl/sql package template
CREATE OR REPLACE PACKAGE BODY BFH2_TEMPLATE
AS
/*
AUTHOR: Joe Developer
PACKAGE NAME: TEMPLATE BODY
CREATION DATE: MM/DD/YYYY
PURPOSE:
DEPENDENCIES:
CHANGELOG:
DATE DEVELOPER DESCRIPTION
MM-DD-YYYY Joe Developer change description...
ADDITIONAL DOCUMENTATION:
Additional Information about the inner workings of this module.
*/
/*
AUTHOR:Joe Developer
ACCEPTS:These Args
DOES:Performs Function
RETURNS:Return Value
DEPENDENCIES:Uses/Needs
NOTES: Special Considerations
*/
FUNCTION FunName(
InVariable varchar2
)
RETURN number
IS --declaration_section
returnValue number;
BEGIN --executable_section
return returnValue;
EXCEPTION --exception_section
when others
then return -1;
END FunName;
END BFH2_TEMPLATE;
/
CREATE OR REPLACE PACKAGE BFH2_TEMPLATE
AS
/*
AUTHOR: Joe Developer
PACKAGE NAME: TEMPLATE SPEC
CREATION DATE: MM/DD/YYYY
PURPOSE:
DEPENDENCIES:
CHANGELOG:
DATE DEVELOPER DESCRIPTION
MM-DD-YYYY Joe Developer change description...
ADDITIONAL DOCUMENTATION:
Additional Information about the inner workings of this module.
*/
/*
AUTHOR:Joe Developer
ACCEPTS:These Args
DOES:Performs Function
RETURNS:Return Value
DEPENDENCIES:Uses/Needs
NOTES: Special Considerations
*/
FUNCTION FunName(
InVariable varchar2
)
RETURN number;
END BFH2_TEMPLATE;
/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment