2011年7月23日
摘要: select decode( x , 1 , ‘x is 1’, 2 , ‘x is 2’, ‘others’) from dual 当x等于1时,则返回‘x is 1’。 当x等于2时,则返回‘x is 2’。 否则,返回‘others’。 阅读全文
posted @ 2011-07-23 14:44 Ruthless 阅读(1157) 评论(0) 推荐(1)