plsql开发子程序与包之前的简单回顾
摘要:
--demo1SELECT IF t1.user_id='1' THEN '2012' ELSIF t1.user_id='2' THEN '2013' ELSE '2015' END IFFROM ts_user t1;--demo2SELECT CASE t1.user_id WHEN '1' THEN '2012' WHEN '2' THEN '2013' WHEN '3' THEN '2014' ELSE 阅读全文
posted @ 2012-09-13 13:25 wean 阅读(284) 评论(0) 推荐(0) 编辑