In sql 2005, instead of building a query from dateparts year, month and date,
is there an more succinct way of writing the where clause?
Something along the lines of this
CONVERT(date,tbldata.date)=CONVERT(date,getdate())
This assumes that the date column includes the time as well. If it does not then you can change it to
tbldata.date=CONVERT(date,getdate())