DateTime datatype is date. got error of conversion failed varchar value to int.
Update Tabl Set Id1=@id1,Id2=@id2,Id3=@id3 where Year(DateTime) = Year(Now())
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)