oracle plsql 自定义异常
2024-08-30 11:08:31
set serveroutput on DECLARE cursor cemp is select ename from emp where deptno=50;
pename emp.ename%type; --自定义异常
no_emp_found exception;
begin open cemp; fetch cemp into pename; if
cemp%notfound then
raise no_emp_found;
end if;
close cemp;
exception when
no_emp_found then dbms_output.put_line('自定义异常');
end;
最新文章
- 原创 C++作用域 (一)
- MySQL批量UPDATE多行记录
- MVC模式与Android
- webpack webpack-dev-server使用指南
- COGS 2479 偏序 题解
- NEFU 84 五指山 (扩展欧几里得)
- android 透明度颜色值
- centos 7安装mysql报错-bash: ./scripts/mysql_install_db: /usr/bin/perl: bad interpreter: No such file or directory
- AndroidStudio字体主题样式分享
- Xcode 的正确打开方式——Debugging(转)
- hibernate它 11.many2many双向
- 使用spring webflow,在前台页面中如何显示后端返回的错误信息
- Windows系统下八大具有高逼格的DOS命令之一【ping】
- linux下错误的捕获:errno(errno.h)和strerror(string.h)的使用
- Docker容器镜像删除
- CSS grid 模板
- Linux 文件目录管理命令
- 在 React、Vue项目中使用 SVG
- codeforce R 491 (div2)
- Python 函数 (关键字参数)
热门文章
- HDU4183 Pahom on Water(来回走最大流,一个点只经过一次)
- Caused by: org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 5000
- spark调优——JVM调优
- Brief Introduction to SDK – JRE – JVM – JIT
- vscode React编程配置
- windows10家庭版升级专业版/企业版
- mui.fire()用法,触发目标窗口的自定义事件
- ansible 批量部署准备工作
- genie 来自netflix 的分布式大数据调度服务
- ksh与bash的异同