CREATE FUNCTION %s(<argument name> <argument datatype>  )  
RETURNS <return datatype> AS  
BEGIN 
 <function body>
END
