Are you getting the following syntax error, or is it something else? Msg 156, Level 15, State 1, Line 18Incorrect syntax near the keyword 'WHERE'.
If it is the syntax error, that is because you have an extra comma just before the WHERE clause. Removing that will fix the syntax error. You don't really need the last column (Date4 = Date4).UPDATE detailSET Signature2 = Signature1, Signature3 = Signature2, Date2 = Date1, Date3 = Date2, Time2 = Time1, Time3 = Time2, Signature1 = Signature3, Signature4 = Signature4, Signature5 = Signature5, Date1 = Date3, Date4 = Date4WHERE CallID IN (SELECT CallID FROM CallLog WHERE CallType = 'Custom')