DECLARE P_INT NUMBER(19);
BEGIN P_INT := 1; FOR L_RECORD IN (SELECT region_name,region_id FROM region_last where region_type=2 ORDER BY region_id ASC) LOOP //查询region表的内容 UPDATE hotel SET city = L_RECORD.REGION_ID WHERE city = L_RECORD.Region_Name; //更新hotel表的内容 P_INT := P_INT + 1; END LOOP;
END;MySQL五个授权表的功能基于Oracle日志分析技术的数据库消息服务相关资讯 Oracle基础教程
- Oracle块编程返回结果集详解 (11/10/2013 10:45:58)
- Oracle基础教程之设置系统全局区 (08/22/2013 14:24:00)
- Oracle基础教程知识点总结 (06/18/2013 07:43:32)
| - Oracle基础教程之tkprof程序详解 (10/22/2013 11:49:50)
- Oracle基础教程之sqlplus汉字乱码 (07/18/2013 16:30:00)
- Oracle 管理之 Linux 网络基础 (02/16/2013 18:37:35)
|
本文评论 查看全部评论 (0)