Previous Topic: UsageNext Topic: RECORD Statement


Examples

Sample Minimum AREA Statement

The following example supplies the minimum AREA statement required for the area to be a valid schema component:

add area name is emp-demo-region.

Copying an area from another schema

In the following example, the statement creates the EMP-PROD-REGION area, which is identical to EMP-DEMO-REGION and associates the new area with the current schema:

add area name is emp-prod-region
    same as area emp-demo-region
         of schema empschm version is 1.

Note: For more information about database procedures, see Chapter 16, “Writing Database Procedures”.