资料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学习
时间: 2024-12-20 01:52:24