PL/SQL个人学习笔记

资料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;

原文地址:https://www.cnblogs.com/clnchanpin/p/7121953.html