为了账号安全,请及时绑定邮箱和手机立即绑定

语法能不能用软件匹配的大写的代码呢

用enter输入提示的代码,能不能运行

正在回答

1 回答

set serveroutput on

declare

    cursor c is select name from tb_1 where id=5;

    pname tb_1.name%type;

    not_found_emp exception;

begin

open c;


fetch c into pname;


if c%notfound then

    raise not_found_emp;

end if;


close c;


exception

when not_found_emp then DBMS_OUTPUT.PUT_LINE('没有找到5号员工');

when others then dbms_output.put_line('其他例外');

close c;

end;

/


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

语法能不能用软件匹配的大写的代码呢

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号