79288223

Date: 2024-12-17 14:22:30
Score: 2
Natty:
Report link

CASE is not used for flow control (like IF-ELSE) in Oracle SQL. To perform the desired operation (insert records if they exist, or insert a default value otherwise), you must use a combination of PL/SQL or separate SQL statements with IF or MERGE.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Eduardo Cunha