Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   SQL Statements > CREATE OPAQUE TYPE >

Opaque-Type Modifier

Read syntax diagramSkip visual syntax diagramOpaque-Type Modifier:
 
|--+-----------------------+------------------------------------|
   +-MAXLEN=length---------+
   +-CANNOTHASH------------+
   +-PASSEDBYVALUE---------+
   '-ALIGNMENT=align_value-'
 
Element Description Restrictions Syntax
align_value Byte boundary on which to align an opaque type that is passed to a user-defined routine. Default is 4 bytes. Must be 1, 2, 4, or 8, depending on the C definition of the opaque data type and hardware and compiler used to build the object file for the data type Literal Number
length Maximum length to allocate for instances of varying-length opaque types. Default is 2 kilobytes. Must be a positive integer ≤ 32 kilobytes. Do not specify for fixed-length data types. Values that exceed this length return errors. Literal Number

Modifiers can specify the following optional information for opaque types:

By default, opaque types are passed to user-defined routines by reference.

Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]