CREATE FUNCTION statements with cursor parameters are not supported in a data-tier application. Remove the statement or the ...