0
我試圖找出爲什麼這個語法是畸形的,我不知道它:更新與case語句的語法問題
update Entry
set Name = Case charindex('/', reverse(Name))
when charindex('/', reverse(Name)) > 0 then right(Name, charindex('/', reverse(Name)) -1)
when charindex('/', reverse(Name)) < 0 then Name
End