oracle case 函數 寫法 2 種















where 1=1 and 'true' = ( case
when t.bssign_ = 0 and t.ordbs_ in ('B','S') then 'true'
else 'false'
end) ;
when t.bssign_ = 0 and t.ordbs_ in ('B','S') then 'true'
else 'false'
end) ;
Oracle HowTo:如何使用Oracle case函數- Oracle Life
http://www.eygle.com/archives/2005/10/oracle_howto_user_case_function.html
posted on 2007-11-28 11:26 小高 閱讀(1047) 評論(2) 編輯 收藏 所屬分類: Oracle