你的语句是查询语句 不是事务语句:update delete insert  
不存在提交回滚
你是想看见有什么结果吧set serveroutput on size 100000
declare
    xh varchar2(26);
begin
    select max(xh) into xh from xs;
    dbms_output.put_line(xh);
end;

解决方案 »

  1.   

    and type "/" to run
      

  2.   

    Yes,you should type '/' at the end of then programe.
      

  3.   

    另外还想问一点,我在sql*plus里写入一个insert语句后,如何在
    Oracle Enterprise Manager Console中的表数据编辑器里同步更新
      

  4.   

    你没有提交
    在最后加一句
    commit;就可以了