-- Created on 2010/04/17 by NAN declare -- Local variables here i integer; v_test VARCHAR2( 10); begin -- Test statements here v_test := CASE '6' WHEN '1' THEN '1' WHEN '2' THEN '2' ELSE '3' END; dbms_output.put_line(v_test); end;
Oracle case_when
猜你喜欢
转载自southking.iteye.com/blog/1728041
今日推荐
周排行