SQL Language (MOSC)

MOSC Banner

Another Date Query

edited May 6, 2010 8:37AM in SQL Language (MOSC) 3 commentsAnswered ✓
 Is there a more efficient way to do the following?
I have a report that has the user parameters of :FISCALYR (fiscal year) and :REPMONTH (reporting month).  

I want to allow the user to select a fiscal year and the option to leave the month blank or select a month.
 
If the user leaves the month blank the selection of order dates would be a range of dates between the beginning of the fiscal year and the last day of the month prior to the month selected from sysdate.

If the month is selected then the range would be between the first day of the selected month and the last day of the selected month.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center