zoukankan      html  css  js  c++  java
  • [bbk5153]第15集 Chapter 06 Working with Composite Data Types(Collection)

    Nested Tables

    [表中有表]

    关联数组,是用在PL/SQL中的一种普通数据类型,无法存储在数据库中;嵌套表既可以在PL/SQL中使用,也可以存储在数据库中.

    VARRAY

    可变数组,既可以在PL/SQL中使用,也可以存储在数据库中.

    Summary of Collection Types

    Quiz

    Identify situations in which you can use the %ROWTYPE attribute.

    1. When you are not sure about the structure of the underlying database table.
    2. When you want to retrieve an entire row from a table.
    3. When you want to declare a variable according to another previously declared bariable or database column.

    锚锁定技术有两类,一类是Scalar变量的锁定,一类是Record的锁定;Scalar的锁定使用%TYPE,Record的锁定使用%ROWTYPE;

    Summary

    In this lesson,you should have learned to:

    • Define and reference PL/SQL variables of composite data types
      • -PL/SQL record
      • -Associative array
        • -INDEX BY table
        • -INDEX BY table of records
    • Define a PL/SQL record by using the %ROWTYPE attribute
    • Compare and contrast the three PL/SQL collection types:
      • -Associative array
      • -Nested table
      • -VARRAY
  • 相关阅读:
    5月29 流程
    5月27 权限设置及功能
    5月26 留言板练习题
    5月24 文件操作
    5月23 文件上传及图片上传预览
    5月23 注册审核
    5月21 回话控制SESSION COOKIE
    5月21 汽车查询及批量删除----php方法
    5月21 练习AJAX的查看详细及批量删除
    5月20 三级联动
  • 原文地址:https://www.cnblogs.com/arcer/p/3036330.html
Copyright © 2011-2022 走看看