change value of column using CASE MSSQL

前端 未结 0 1730
闹比i
闹比i 2020-12-20 11:54

Can I do something like below with CASE in MSSQL

(Case When location = \'Columbia\' Then (direction = 942) Else direction End) as newdirection
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题