1 CREATE FUNCTION function-name ( 2? 2+ , 2 parameter-declaration 3 ) RETURNS data-type2 4? AS LOCATOR 5 (1) 6? SPECIFIC specific-name 7 SOURCE 8function-name 8.1?( 8.1.1? 8.1.1+ , 8.1.1parameter-type 8.1.2) 8SPECIFIC specific-name parameter-declaration: 1? 1 parameter-name 2 data-type1 3? 3 AS LOCATOR data-type1, data-type2, data-type3: 1 built-in-type 1 distinct-type-name