开始
set serveroutput on; DECLARE v_ename emp.ename%TYPE; BEGIN select ename into v_ename from emp where empno=7369; dbms_output.put_line('ename is:'||v_ename); END;
结束
本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/archive/2012/11/13/2767944.html,如需转载请自行联系原作者