Error: Operation must use an updatable query
While running the below query, I'm getting the error, Operation must use an updatable query.
UPDATE CapgComp_init AS A SET A.cl_id = (SELECT LEFT(B.cl_id, 4)&T.future_state_account_num
FROM CapgComp_init B
INNER JOIN current_future_acct_num AS T ON MID(B.cl_id,4,len(cl_id)) =T.current_pim_account_num
WHERE MID(A.cl_id, 4, len(A.cl_id)) = T.current_pim_account_num);
Can anyone pls let me know... Thanks...
While running the below query, I'm getting the error, Operation must use an updatable query.
UPDATE CapgComp_init AS A SET A.cl_id = (SELECT LEFT(B.cl_id, 4)&T.future_state_account_num
FROM CapgComp_init B
INNER JOIN current_future_acct_num AS T ON MID(B.cl_id,4,len(cl_id)) =T.current_pim_account_num
WHERE MID(A.cl_id, 4, len(A.cl_id)) = T.current_pim_account_num);
Can anyone pls let me know... Thanks...