I want to be able to give a stored procedure a Month and Year and have it return everything that happens in that month, how do I do this as I can\'t compare between as some
More one tip very simple. You also could use to_char function, look:
For Month:
to_char(happened_at , 'MM') = 01
to_char(happened_at , 'YYYY') = 2009
to_char(happened_at , 'DD') = 01
to_char funcion is suported by sql language and not by one specific database.
I hope help anybody more...
Abs!