exception
when sql%notfound then
....
when sql%notfound then
....
解决方案 »
- 求个 Toad DBA Suite for Oracle 10.1.0 Commercial.exe 安装包
- 求一个SQL语句
- select file_name from dba_data_files where tablespace_name='user01'为什么执行结果是未选定行?
- 单号加1
- 在oracle中 如何定位到上一条数据和下一条数据
- 无法分析出字段名 程序和数据库通信时,无法分析出select* from 查询结果的各个列
- sqplus登陆问题
- SQL调优,帮忙 谢谢
- 新手提问 关于 Oracle 导入导出
- 数据库支持问题
- 关于外键的简单问题!!!!!!!!!!!!!!!
- ORACLE pl/sql 中没有没有办法知道执行的时间,I/O统计信息
select count(*) into i from ..
if i>0 then
...
else
...
select 字段 into 变量 from table_name a where exists(select 字段 from table_name where id=a.id)
when sql%notfound then
....
select ...;
exception when no_data_found then
...;
end;