Want to get data between datepart(year,currentdate) and current date
select * from #table view where asofdate between datepart(year,\'2020-11-30\') and \'2020-11-30\'