How do I write a sql statement that will only select a date range within the current month?
For example, I need to see all expected deliveries this month without having to change the SQL each month.
EXPC_DEL_DATE BETWEEN FirstDayofMonth AND LastDayOfMonth
Don't want to hard code date in each month like this..
EXPC_DEL_DATE BETWEEN '2002-04-01' AND '2002-04-30'
Thanks
For example, I need to see all expected deliveries this month without having to change the SQL each month.
EXPC_DEL_DATE BETWEEN FirstDayofMonth AND LastDayOfMonth
Don't want to hard code date in each month like this..
EXPC_DEL_DATE BETWEEN '2002-04-01' AND '2002-04-30'
Thanks