oracle存储过程
来源:互联网 发布:qq视频网络不稳定 编辑:程序博客网 时间:2024/06/03 21:27
create or replace procedure "CDMA"."NON_SMART_OS_LIST_S" is
declare
--声明变量
cursor c_job is select distinct TYPE,OEM from CM_TERMINAL_INFO_PC2 where OS='0';
c_row c_job%rowtype;--定义变量,类型是c_job类型
--执行部分
begin
delete from NON_SMART_OS_LIST;
open c_job;
loop
fetch c_job into c_row;
exit when(c_job%notfound);
if(c_job%found) then insert into NON_SMART_OS_LIST ( TYPE,OEM) values (c_row.TYPE,c_row.OEM);
end if;
end loop;
close c_job;
--捕捉异常
EXCEPTION WHEN OTHERS THEN ROLLBACK;
end;
工作中自己编写的第一个存储过程.权当留给自己的纪念!- Oracle:存储过程,存储函数
- Oracle-存储过程 存储函数
- Oracle存储过程、存储函数
- oracle 存储函数,存储过程
- Oracle存储过程
- 调试oracle存储过程。
- ORACLE 存储过程实战
- Oracle 存储过程
- oracle存储过程使用
- Oracle 创建存储过程
- 调试oracle存储过程
- oracle java存储过程
- 创建Oracle存储过程
- 加密oracle存储过程
- oracle存储过程分页
- oracle存储过程笔记
- ORACLE存储过程--注意事项
- oracle procedure 存储过程
- Future和FutureTask
- C和Java JNA获取系统空闲时间 --GetLastInputInfo 函数
- 如何用OpenCV训练自己的分类器
- Windows 编程常用键盘消息命令
- Android 开发常用代码片段
- oracle存储过程
- Android学习系列(1)--为App签名(为apk签名)
- Generic泛型
- 现有IOS设备唯一标示符的方案比较
- 函数可重入性
- AdaBoost人脸检测原理【转摘】
- c#编程之UserControl:用户控件与主界面之间的事件响应
- eclipse maven 安装
- 打开c语言生成exe文件,出现闪退的解决方法