WHERE
detail.rqst_del_date >= ''01/01/'' + datename(year,getdate()) and detail.rqst_del_date <= dateadd(month, 8, getdate())
I have the above in my where clause, but I need to make a change in order to go back 6 months from the first of this month, so I would include all records from July 1 2002 to 8 months from today. SQL Server 2000
Thanks much!!
detail.rqst_del_date >= ''01/01/'' + datename(year,getdate()) and detail.rqst_del_date <= dateadd(month, 8, getdate())
I have the above in my where clause, but I need to make a change in order to go back 6 months from the first of this month, so I would include all records from July 1 2002 to 8 months from today. SQL Server 2000
Thanks much!!