|
|
|
|
Bonjour
je ne parviens pas à écrire avec une syntaxe correcte
une insertion en SQL avec un Case:
config :ORACLE 9.2
Code :
UPDATE ma_table t1
SET t1.indispo= CASE
when t1.performance > 0 then 0
when t1.performance = 0 then 15
when t1.performance = -1 then -1
from t1
ELSE -100
end as calcul
j'obtiens l'erreur :
ORA-00905 missing expression
quelqu'un comprendrait il l'erreur que j'ai commis?
Bonjour,
|