I have a table which has date column. I would like to run the query which will pull the data for last 7 days.
Date format looks like that : 2015-01-05 10:58:16000
Not sure why my query not working
Select * from Table1
where date < getdate() -7
simam
I have a table which has date column. I would like to run the query which will pull the data for last 7 days.
Date format looks like that : 2015-01-05 10:58:16000
Not sure why my query not working
Select * from Table1
where date < getdate() -7
simam