Quantcast
Channel: Oracle
Viewing all articles
Browse latest Browse all 4975

Forum Post: RE: Create function help

$
0
0
A condensed version of what you're trying to achieve. create or replace function fisc_year (v_date_value date) return number as begin if extract(month from v_date_value) between 1 and 3 then return extract(year from v_date_value); else return extract(year from v_date_value) + 1; end if; return null; end; /

Viewing all articles
Browse latest Browse all 4975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>