Skip to Main Content
Oracle in a Nutshell
book

Oracle in a Nutshell

by Rick Greenwald, David C. Kreines
December 2002
Intermediate to advanced content levelIntermediate to advanced
928 pages
85h 29m
English
O'Reilly Media, Inc.
Content preview from Oracle in a Nutshell

Name

Varray_Storage Clause

Synopsis

VARRAY varray_item 
{ {[ELEMENT] IS OF [TYPE] (ONLY type)
  | [NOT] SUBSTITUTABLE AT ALL LEVELS
  }
| STORE AS LOB
  { LOB_segname 
    [([TABLESPACE tablespace_name]
     [{ENABLE | DISABLE} STORAGE IN ROW]
     [Storage_Clause]
     [CHUNK integer]
     [PCTVERSION integer ]
     [CACHE | NOCACHE [LOGGING | NOLOGGING]]
    )]
  | ([TABLESPACE tablespace_name]
     [{ENABLE | DISABLE} STORAGE IN ROW]
     [Storage_Clause]
     [CHUNK integer]
     [PCTVERSION integer ]
     [CACHE | NOCACHE [LOGGING | NOLOGGING]]
    )
  }
}

Defines the storage characteristics of a VARRAY (variable array, a type of Oracle collection). New with Oracle8i.

varray_item

Specifies the name of the VARRAY item.

ELEMENT

Specifies that the element type of a collection column or attribute is to be constrained to a subtype of its declared type.

IS OF TYPE

Specifies that the type of the object column is to be constrained to a subtype of its declared type.

NOT SUBSTITITABLE AT ALL LEVELS

Specifies that the object column cannot hold instances corresponding to any of its subtypes and that substitution is disabled for any embedded object attributes and elements of embedded nested tables and VARRAYs. The default is SUBSTITUTABLE AT ALL LEVELS.

STORE AS LOB

Specifies that the VARRAY is to be stored as a LOB and that the storage parameters to be applied follow this keyword.

TABLESPACE

Specifies the name of the tablespace in which the LOB will be stored.

ENABLE STORAGE IN ROW

Specifies that the LOB data may be stored in the data row if its size is less than approximately ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Internals

Oracle Internals

Donald K. Burleson
Oracle PL/SQL

Oracle PL/SQL

Lewis Cunningham
Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Rick Greenwald, Robert Stackowiak, Jonathan Stern

Publisher Resources

ISBN: 0596003366Errata Page