I have a table date_days
which contain of 1 field attdate
as date
I want to create a query that accept 1 or 2 parameter. ie :
QueryGetDays(#01/06/2013#,#30/06/2013#)
QueryGetDays(#01/06/2013#) and the query can tell the end of month by itself.
This query will delete all existing records in date_days, and insert dates from 01/06/2013 to 30/06/2013 in table date_days
ofcource I can generate the dates and do the insert from vb.net
But I wonder if that can be done using query in ACCESS ?