PLSQL_数据结构类型的解析(概念)
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
PLSQL_数据结构类型的解析(概念)的更多相关文章
- Python2 基本数据结构源码解析
Python2 基本数据结构源码解析 Contents 0x00. Preface 0x01. PyObject 0x01. PyIntObject 0x02. PyFloatObject 0x04. ...
- Oracle中Clob类型处理解析:ORA-01461:仅可以插入LONG列的LONG值赋值
感谢原作者:破剑冰-Oracle中Clob类型处理解析 上一篇分析:ORA-01461: 仅能绑定要插入 LONG 列的 LONG 值 最近为Clob字段在插入数据时发现当字符的字节数(一个半角字符一 ...
- Redis的值value(数据结构类型)
Redis的数据结构类型,指的是redis的值的value类型: Redis的常用数据结构类型:string,list,set,sortedSet,hash 一.sting的类型 string类型是r ...
- redis 全局命令 查看所有的键,删除键,检查键是否存在,获取过期时间,键的数据结构类型
Redis有5中数据结构,他们是键值对中的值,对于键来说,有一些通用的命令: 一.查看所有键 keys * 二.获取键总数:dbsize 三.检查键是否存在 exists 如果存在返回1,不存在返回0 ...
- 游戏开发中IIS常见支持MIME类型文件解析
游戏开发中IIS常见支持MIME类型文件解析 .apkapplication/vnd.android .ipaapplication/vnd.iphone .csbapplication/octet- ...
- 【转】Hibernate的getSQLQuery方法对char类型的解析问题
[转]Hibernate的getSQLQuery方法对char类型的解析问题 建立数据库: create table T_TEST1( id char (32), name varchar (255) ...
- 再提供一种解决Nginx文件类型错误解析漏洞的方法
[文章作者:张宴 本文版本:v1.2 最后修改:2010.05.24 转载请注明原文链接:http://blog.zyan.cc/nginx_0day/] 注:2010年5月23日14:00前阅读本文 ...
- PLSQL_标准游标类型的解析(概念)
2014-06-02 Created By BaoXinjian
- PLSQL_动态语句的解析(概念)
2014-06-02 Created By BaoXinjian
随机推荐
- Longest Consecutive Sequence leetcode java
题目: Given an unsorted array of integers, find the length of the longest consecutive elements sequenc ...
- Rotate List leetcode java
题目: Given a list, rotate the list to the right by k places, where k is non-negative. For example: Gi ...
- Cognos报表展示图片小技巧
场景:在销售行业,比如手机,服装行业,如果仅仅的显示数字.文字那就显得不是很生动了,例如可以显示一下图片,那种样子的产品受大家喜欢. 样例1:在报表头都喜欢加上一些公司的logo,让报表看上去专业点. ...
- SqlServer2008第一次安装后连接问题
在第一次安装好SqlServer并启动服务后,对服务器进行连接: 1:根据计算机名进行windows身份验证 结果如下 2:根据计算机名进行SqlServer身份验证 结果如下: 3:根据IP进行wi ...
- easyui combotree不让父级选中
easyui combotree不让父级选中? <ul id="combotree"></ul> $(function () { $("#comb ...
- jquery ui autocomplete 模拟百度搜索自动提示
直接上代码 <!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset=" ...
- VB 中窗口发现冲突名称,将使用名称...怎么解决?
首先上图: 刚開始敲机房收费系统的时候就出现过这样的情况,当时有八个之多. 解决方法: (1)对窗口进行重命名(比如将frmGongZuoJiLu改成frmGongzuojilu),于是从8个错误降低 ...
- nginx学习笔记(四)-----日志切割脚本及定时任务
一.日志切割脚本 #!/bin/sh #nginx目录 BASE_DIR=/usr/local/nginx #生成的日志 BASE_FILE_NAME=jonychen.access.log CURR ...
- com.esotericsoftware.kryo.kryoexception java.util.ConcurentModificationException
近期 有网友看我的"整合Kafka到Spark Streaming--代码演示样例和挑战"文章, 讲 kafka对象 放到 pool 并通过broadcast广播出去: 然后 在开 ...
- Activiti Designer 5.14.1插件安装和使用
1.离线包下载 离线安装包下载:https://files.cnblogs.com/files/modou/Activiti_BPMN_2.0_designer.rar 2.安装 先把jars文件夹中 ...