hi,
i want to automate a query that pulls data from the current date back through the first of the month. i want it to run every day.
something like:
select colname from table where createdate >= {first_of_the_month} and createdate <= sysdate;
how can automate first_of_the_month without additional processing? i see a way i could do it from now til end of month with last_day(), but nothing like first_day.
thanks!