2014-06-02 Created By BaoXinjian


1. 字段

2. 记录

3. 集合

4. 游标

5. 其他


1. 字段

(1). 标准字段

l_wip_entity_id NUMBER;

(2). 基于表字段

l_wip_entity_id wip_entities.wip_entity_id%TYPE;

2. 记录

(1). 标准记录

TYPE r_type_wip_entity ISRECORD(

wip_entity_id wip_entities.wip_entity_id%TYPE,

wip_entity_name wip_entities.wip_entity_name%TYPE

);

r_wip_entity  r_type_wip_entity;

(2). 基于表记录

r_wip_entity   wip_entities%ROWTYPE;

3. 集合

(1). 标准集合

TYPE r_type_wip_entity ISRECORD(

wip_entity_id wip_entities.wip_entity_id%TYPE,

wip_entity_name wip_entities.wip_entity_name%TYPE

);

r_wip_entity  r_type_wip_entity;

TYPE c_wip_entity IS TABLE OF r_wip_entity INDEX BY BINARY_INTEGER;

(2). 基于表集合

TYPE c_wip_entity ISTABLEOF wip_entities%ROWTYPEINDEXBYBINARY_INTEGER;

(3). 集合的操作

Count / First / Last / Prior /Next / Extend /Delete

4. 游标

(1). 标准游标

CURSOR c_wip_entity

IS

SELECT wip_entity_id, wip_entity_name

FROM wip_entities;

(2). 其他方式定义

TYPE c_type_wip_entity ISREFCURSOR;

c_wip_entity c_type_wip_entity;

5. 其他

(1). rowid和rownum

(2). BLOD和CLOB

Thanks and Regards

最新文章

  1. java.IO输入输出流:过滤流:buffer流和data流
  2. Linux iptables 防火墙
  3. MyBatis传入参数为集合、数组SQL写法
  4. jquery combobox
  5. Android开发--Layout元素
  6. AngularJS快速入门指南10:DOM节点
  7. MySQL学习笔记01-MYSQL安装
  8. POJ 2226 Muddy Fields (最小点覆盖集,对比POJ 3041)
  9. 远程连接postgres,出现server doesnt listen
  10. TestNG传参的几种方式
  11. javadoc注释规范
  12. Linux下多线程查看工具(pstree、ps、pstack) (转)
  13. leetcode第15题--3Sum
  14. 用Bottle开发web程序(二)
  15. screen 链接远程桌面
  16. JavaScriptCore全面解析 (下篇)
  17. ssh环境的搭建,基于注解和配置文件使用
  18. 详解 HTTPS 移动端对称加密套件优
  19. tvtk管线技术、数据集与数据加载
  20. Java8-对map过滤

热门文章

  1. Android循环ViewPager(二)
  2. Android之属性动画(二)
  3. python中的exec()、eval()以及complie()
  4. 对SingleTask和TaskAffinity的理解
  5. Mac下Sublime Text 总是以新窗口打开文件的解决办法
  6. Discuz常见小问题-网站如何备份和恢复
  7. JDK5.0 特性 监控与管理虚拟机
  8. sonarqube 指定jdk
  9. Stage3d 由浅到深理解AGAL的管线vertex shader和fragment shader || 简易教程 学习心得 AGAL 非常非常好的入门文章
  10. 【Oracle】查询字段的长度、类型、精度、注释等信息