get data for current year in MS SQL code example Example: get current year sql select year(getdate())