I have this requirement to determine dates and one of them I need to filter out Good Friday (only) with a parameter of given year
v_temp_year varchar2(4) := to_char(sysdate, 'YYYY');
//the function would be something below that returns date
getGoodFridayDate(v_temp_year)
Now I need to formulate a function to be called in each stored procedure and I feel like a total noob about it. Any help would be greatly appreciated. Please don't tag as duplicate I cannot find solutions here with same requirement .