[bbk5153]第15集 - Chapter 06- Working with Composite Data Types(Collection)
2013-04-22 18:55
696 查看
Nested Tables
![](http://images.cnitblog.com/blog/110033/201304/22183521-61d9a7c78d864621883d50e5681372f0.jpg)
[表中有表]
关联数组,是用在PL/SQL中的一种普通数据类型,无法存储在数据库中;嵌套表既可以在PL/SQL中使用,也可以存储在数据库中.
VARRAY
![](http://images.cnitblog.com/blog/110033/201304/22184047-5154170292c9440fb3f5f0274ce2caef.jpg)
可变数组,既可以在PL/SQL中使用,也可以存储在数据库中.
Summary of Collection Types
![](http://images.cnitblog.com/blog/110033/201304/22184204-66beb0f09cc542798f1d94994ac3b8db.jpg)
Quiz
Identify situations in which you can use the %ROWTYPE attribute.When you are not sure about the structure of the underlying database table.
When you want to retrieve an entire row from a table.
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
相关文章推荐
- [bbk5141]第14集 - Chapter 06- Working with Composite Data Types(Collection)
- [bbk5129]第13集 - Chapter 06- Working with Composite Data Types(Collection)
- [bbk4998]第11集 - Chapter 06- Working with Composite Data Types -00-4998(Record)
- [bbk5128]第12集 - Chapter 06- Working with Composite Data Types -01-4998(Record)
- Graph Databases—Chapter 4 Working with Graph Data阅读笔记
- Working with Primitive Data Types
- Chapter 03 Working with batches of data
- Working with DataFrames
- 三、集合数据类型Collection Data Types
- Android: Reading, using and working with XML data and web services in Android
- Working with Collections(Chapter 7 of Objective-C Phrasebook)
- Objective-C 苹果开发文档 06 Working with Protocols
- Data Structures with C++ Using STL Chapter 4向量容器---笔记
- Working with Data in Apex(在Apex中处理数据)
- C++ Primer Plus Chapter 3 Dealing with Data
- Working with EXIF data
- pandas working with missing data
- Working with Other Node Types II
- Data Structures with C++ Using STL Chapter 2对象设计技术---笔记
- Working with view controllers(Chapter 5 of The iPhone™ Developer’s Cookbook)