[ad_1]
I am needing to have a CASE statement in my UPDATE statement WHERE clause. But, it is giving me a compile error:
UPDATE......
.
.
WHERE CASE
WHEN p_client_id = 0 THEN user_id = p_user_id
ELSE client_id = p_client_id
END;
680/50 PL/SQL: ORA-00905: missing keyword
Am I missing something, or is this not the correct syntax?
[ad_2]