Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   SQL Statements > INSERT >

Inserting Values into Opaque-Type Columns (IDS)

Dynamic Server supports INSERT operations that specify literal values of opaque data types as quoted strings in the VALUES clause. You can use this syntax to insert values of opaque UDTs into columns of tables in the local database, or into columns of tables in other databases of the local Dynamic Server instance.

Some opaque data types require special processing when they are inserted. For example, if an opaque data type contains spatial or multirepresentational data, it might provide a choice of how to store the data: inside the internal structure or, for large objects, in a smart large object.

This is accomplished by calling a user-defined support function called assign( ). When you execute INSERT on a table whose rows contains one of these opaque types, the database server automatically invokes the assign( ) function for the type. The assign( ) function can make the decision of how to store the data. For more information about the assign( ) support function, see IBM Informix User-Defined Routines and Data Types Developer's Guide.

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