I have a table that someone update this table every day.
I would like to create a view and instead of update this view manually like the guy does, I would like to make it automatic.
For example, today is 15/jun/2012 and the table is updated, the view must be updated (when runned) when that person update the table, automatically.
My trouble is how do I get the first day of a month to the last day wich the table is updated.
If I understood your question correctly you need to check your table to the last modified date and get the first day in the month when that happened?
If that’s true you need something like: