I am am to create this function, but when I call it I get an error of: query string argument of EXECUTE is null
create or replace function te