Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get last 3 months on basis of sysdate in prompt

user10675696Feb 20 2013 — edited Feb 20 2013
Hi,

I am using Fiscal Month in the prompts and the data in the column looks like below


201201
201202
201203
201204


User will select the prompts between months period, like below

Between 201201 and 201204.

My requirement is, I need to default this Fiscal month value to last 3 months, Since we are in February, it should look like this.

Between 201211 and 201301 (which is last 3 months)

Rgds,
Ma
This post has been answered by Solomon Yakobson on Feb 20 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 20 2013
Added on Feb 20 2013
5 comments
9,613 views