Re: Month events
Try something like this:
select *
from agenda_geral
where agenda='desporto' and area_ID = 1
and (month = month(now()) or month = month(now() - interval 1 month))
order by day
By the way, is your query meant to show events from the current month of any year, or just the current year? It shows events from the current month of any year.
Regards,
Bill K.
Subject
Written By
Posted
Re: Month events
April 24, 2006 11:58AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.