Chapter 15 DBMS-Specific Features


Oracle extended attributes

The following extended attributes are defined by default in the Oracle DBMS.

Abstract Data Types

The following extended attributes are available for attributes of abstract data types of type OBJECT or SQLJ_OBJECT on the Oracle tab:

Name Description
Declare REF Generates a REF modifier on attribute to declare references, which hold pointers to objects.

Scripting name: RefAttribute

Columns

The following extended attributes are available on the Oracle tab:

Name Description
Deferred option of check constraint Defines the deferred option of a column constraint check. It is used in the definition or create and add items statements.

Scripting name: ExtColumnDeferOption
Name of not null constraint Defines the name of the not null constraint for a column.

Scripting name: ExtNotNullConstraintName
Deferred option of not null constraint Defines the deferred option of a column not null constraint. It is used in "create" and "add" statement items definition.

An empty value means "Not deferrable".

Scripting name: ExtNotNullDeferOption

Database Packages

The following extended attributes are available on the Oracle tab:

Name Description
Add serially_reusable pragma on package specification When set to True, defines that the pragma serially_reusable clause must be applied on the database package specification.

Scripting name: IsSpecPragma
Add serially_reusable pragma on package body When set to True, defines that the pragma serially_reusable clause must be applied on the database package body declaration.

Scripting name: IsPragma

References

The following extended attributes are available on the Oracle tab:

Name Description
Deferred option of foreign key constraint Defines the deferred option of a reference. It is used in the definition of create and add items statements.

Scripting name: ExtReferenceDeferOption

Tables

The following extended attributes are available on the Oracle tab:

Name Description
Type Defines if the table is of type global temporary or not.

Scripting name: ExtTableType

Tablespaces

The following extended attributes are available on the Oracle tab:

Name Description
Size specification Specifies whether the tablespace is a bigfile or smallfile tablespace. This clause overrides any default tablespace type setting for the database. You can choose from the following settings:

  • bigfile - contains only one datafile or tempfile. The maximum size of the single datafile or tempfile is 128 terabytes (TB) for a tablespace with 32K blocks and 32TB for a tablespace with 8K blocks.
  • smallfile - a traditional Oracle tablespace.


Scripting name: SizeSpecification
Temporary tablespace Use this option to create a locally managed temporary tablespace, which is an allocation of space in the database that can contain transient data that persists only for the duration of a session. This transient data cannot be recovered after process or instance failure.

Scripting name: Temporary
Undo tablespace Use this option to create an undo tablespace. When you run the database in automatic undo management mode, Oracle Database manages undo space using the undo tablespace instead of rollback segments. This clause is useful if you are now running in automatic undo management mode but your database was not created in automatic undo management mode.

Scripting name: Undo

Views

The following extended attributes are available on the Oracle tab:

Name Description
Super view object Used in the UNDER clause to specify the superview the current object view is based on.

Scripting name: ExtObjSuperView
Object view key Specifies the attributes of the object type that will be used as a key to identify each row in the object view.

Scripting name: ExtObjOIDList
Object view type Defines the type of the object view.

Scripting name: ExtObjViewType
Force When set to TRUE, allows you to create the view regardless of the existence of the base tables or the owner privileges on these tables.

Scripting name: ExtViewForce

 


Copyright (C) 2007. Sybase Inc. All rights reserved.