PL/SQL学习

时间:2014-08-20 09:20:36   收藏:0   阅读:228
资料1
-- Created on 2014/8/20 
declare 
  -- Local variables here
  i integer;
begin
  i := 12;
  -- Test statements here
  DBMS_OUTPUT.put_line(i);

end;

资料2

declare 
  cursor s is 
          select * from city_app.city_server;
  s_ s%rowtype;
begin
  open s;
  fetch s into s_;
        DBMS_OUTPUT.put_line(s_.id);
  close s;
end;

PL/SQL学习,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!