• try this query,it works for me

    select * from testdate where datepart(dd,date1)=datepart(dd,getdate())-1

    so ,i hope this work for you