I am writing a query in which I have to get the data for only the last year. What is the best way to do this?
SELECT ... FROM ... WHERE date > \'8/27/2007
Look up dateadd in BOL
dateadd(yy,-1,getdate())