="update M_DIMENSION1206294 set A_WeekNum = 117 where A_Week =
'"&TEXT(B2,"yyyy-mm-dd")&"'"
Note that I always use the ISO yyyy-mm-dd format for SQL, as there is no
ambiguity between the various date systems (dd/mm/yy, mm/dd/yy, yy/mm/dd) in use
in various countries.