|
|||||||||||
A composite record: price listSQL operates on tables of primitive datatypes. Often, column values are not independent pieces of information, but components of a composite datatype. Using an SQL query resource, you can reassemble these column values into the composite datatype before returning the data to the client. PrototypeReassembly of a composite datatype from its component values is expressed using a prototype. A prototype is an instance of the composite datatype where, instead of the component values, named holes show where the component values are to be inserted.
For example, the Coffeebreak application has a price list resource. The price list is a list of
The first step in creating a prototype is creating the schema that defines
the structure of the composite datatype. The next page describes the
| |||||||||||
|
top
Copyright 2002 - 2003 Waterken Inc. All rights reserved. |