Creating and using stored functions

CREATE FUNCTION