Saving our programs - functions Create function: CREATE OR REPLACE FUNCTIONFUNCNAME(PARAMNAME [IN|OUT] PARAMTYPE,…) RETURN rettype IS // declaration is automatic // variables used in your program BEGIN // place your program here END FUNCNAME; Drop function: drop function FUNCNAME ; Example: http://digitus.itk.ppke.hu/~fodroczi/dbs/holvegyem.sqlhttp://digitus.itk.ppke.hu/~fodroczi/dbs/holvegyem.sql-- check syntax Compile into database: @/path_to/file_where_you_saved.sql Run: select holvegyem( Traktor belso ) from dual; v.