您的位置:首页 > 数据库

PL/SQL个人学习笔记

2017-07-05 16:10 274 查看
资料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;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: