Oracle8i Application Developer's Guide - XML Release 3 (8.1.7) Part Number A86030-01 |
Library | Service | Contents | Index

Using interMedia Text to Search and Retrieve Data from XML Documents, 17 of 22

## 1 Create a Preference

The first thing you must do is create a preference. To do this, use the CTX_DDL.Create_Preference procedure.

For example:

#### CTX_DDL.Create_Preference

    CTX_DDL.Create_Preference (
     preference_name  => 'books' /* or whatever you want to call it */
     object_name      => 'XML_SECTION GROUP' /* either XML_SECTION_GROUP or AUTO_
    SECTION_GROUP */);

To drop this preference use the following syntax:

    CTX_DDL.Drop_Preference (
     preference_name => 'books');

| Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
Library | Service | Contents | Index