end;
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;
原文:http://blog.csdn.net/ztt_1119/article/details/38701195