1 CREATE FUNCTION function-name ( 2? 2+ , 2 parameter-declaration 3 ) RETURNS TABLE ( 4+ , 4 column-name data-type2 4.1? 4.1 AS LOCATOR 4.1.1 ) 5 option-list