Oracle8i interMedia Text Reference Release 2 (8.1.6) Part Number A77063-01 |
|
CTX_THES Package, 10 of 26
The CREATE_THESAURUS procedure creates an empty thesaurus with the specified name in the thesaurus tables.
CTX_THES.CREATE_THESAURUS(name IN VARCHAR2, casesens IN BOOLEAN DEFAULT FALSE);
Specify the name of the thesaurus to be created.
Specify whether the thesaurus to be created is case-sensitive. If casesens is true, Oracle retains the cases of all terms entered in the specified thesaurus. As a result, queries that use the thesaurus are case-sensitive.
begin ctx_thes.create_thesaurus('tech_thes', FALSE); end;
The name of the thesaurus must be unique. If a thesaurus with the specified name already exists, CREATE_THESAURUS returns an error and does not create the thesaurus.
To enter phrases in the thesaurus, use CTX_THES.CREATE_PHRASE or use the Thesaurus Maintenance screen in the System Administration tool.
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|