Oracle 經常使用函數/語法總結

1. case when then case end構成語法開始和結束web when 條件知足執行 then 不然執行 elsesql case when ba.org is not null and ba.org = 'GD' then 'GD' else 'OL' end "ORDER_SOURCE" 2. decode() decode(表達式,結果1,表達式/結果…)
相關文章
相關標籤/搜索