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!

display all quarters between 2 dates?

471326Jan 20 2006 — edited Jan 24 2006
hi,

Is their any way to display all quarters between 2 dates.. using a SQL statement alone.. or through some function..

If so, could some one help me around on it..

1/1/2005 12/31/2006

so, the answer should be..

Q1-05
Q2-05
Q3-05
Q4-05
Q1-06
Q2-06
Q3-06
Q4-06

thanks in advance....
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 21 2006
Added on Jan 20 2006
4 comments
709 views