Viewing 2 posts - 1 through 2 (of 2 total)
DATEDIFF gives the date difference between two dates i.e number of days and I am adding these days to the current date by using DATEADD function. For further info please...
October 6, 2003 at 11:16 pm
#477295
Hi vikramnat,
Try using the following query
update table_name set col_name =DATEADD(d,DATEDIFF(d,col_name,'9-1-2003'),col_name) where .......
October 6, 2003 at 10:22 pm
#477293