Can a function take no input parameters as such:
function get_lo_post () return number
is
ret_value number;
begin
ret_value := 0;
select min(post) into ret_value from post_lookup;
return ret_value;
EXCEPTION
WHEN OTHERS THEN
return 0;
end;
I am getting an error on the declaration which is as follows:
function get_lo_post () return number;
function get_lo_post () return number
is
ret_value number;
begin
ret_value := 0;
select min(post) into ret_value from post_lookup;
return ret_value;
EXCEPTION
WHEN OTHERS THEN
return 0;
end;
I am getting an error on the declaration which is as follows:
function get_lo_post () return number;