What is the proper way to construct this sql?
This one failed ,
Thanks
This one failed ,
Code:
Msg 245, Level 16, State 1, Line 6 Conversion failed when converting the varchar value 'MOB_CH_MANGNYANG' to data type int.
Code:
Update Tab_RefNest SET dwDelayTimeMin='4', dwDelayTimeMax='8', dwMaxTotalCount='7' FROM Tab_RefNest AS A INNER JOIN Tab_RefTactics AS B ON B.dwTacticsID = A.dwNestID INNER JOIN _RefObjCommon AS C ON C.CodeName128 = B.dwTacticsID WHERE C.Rarity ='0' and CodeName128 NOT Like 'MOB_FW_%' and CodeName128 NOT Like 'MOB_THIEF_%' and CodeName128 NOT Like 'MOB_HUNTER_%' and CodeName128 NOT Like 'MOB_EU_%' and CodeName128 like 'MOB_%'