1 CREATE FUNCTION function-name (
2? 
2+ ,
2 parameter-declaration
3 ) RETURNS
4 data-type2
4.1? AS LOCATOR
4 data-type3 CAST FROM data-type4
4.1? AS LOCATOR
5 option-list