Oracle PLSQL Demo - 10.For Loop遍历游标[FOR LOOP CURSOR]
2015-06-29 22:55
691 查看
declare cursor cur_emp is select t.* from scott.emp t; begin for r_emp in cur_emp loop dbms_output.put_line(r_emp.empno || ' ' || r_emp.sal); end loop; end;
相关文章推荐
- Oracle PLSQL Demo - 07.LOOP循环,以EXIT WHEN退出[EXIT in LOOP]
- Oracle PLSQL Demo - 06.LOOP循环,以IF判断退出[IF in LOOP]
- Oracle PLSQL Demo - 05.WHILE循环[WHILE LOOP]
- Oracle PLSQL Demo - 04.数字FOR LOOP循环[NUMBERABLE (FOR) LOOP]
- MySQL导入sql脚本错误:2006 - MySQL server has gone away
- sqlserver监控sql执行
- 利用sqoop将hive数据导入导出数据到mysql
- 通过Sqoop实现Mysql / Oracle 与HDFS / Hbase互导数据
- PL/SQL Developer使用技巧、快捷键、存储过程调试
- SQL Server 2016 CTP2 发布
- SQL Server 2016 CTP2 发布
- 运维浅谈:mysql优化
- MySQL数据库运维的五大指标
- ubuntu下一个rootusername入口mysql,如何查看username和password,如何改变rootpassword
- PL/SQL Developer连接本地Oracle 11g 64位数据库(转)
- shopnc b2b2c初次运行提示Class Error: mysqli.isn't exists!的解决方法
- [转载] 运维角度浅谈:MySQL数据库优化
- Office Tips 2 - 如何备份oracle sql developer的connection
- Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
- instantclient_11_2与PLSQL Developer的配置