Oracle Text Reference Release 9.0.1 Part Number A90121-01 |
|
CTX_THES Package , 2 of 30
Alters an existing phrase in the thesaurus. Only CTXSYS or thesaurus owner can alter a phrase.
CTX_THES.ALTER_PHRASE(tname in varchar2, phrase in varchar2, op in varchar2, operand in varchar2 default null);
Specify thesaurus name.
Specify phrase to alter.
Specify the alter operation as a string or symbol. You can specify one of the following operations with the op and operand pair:'
Specify argument to the alter operation. See table for op.
Correct misspelled word in thesaurus:
ctx_thes.alter_phrase('thes1', 'tee', 'rename', 'tea');
Remove qualifier from mercury (metal):
ctx_thes.alter_phrase('thes1', 'mercury (metal)', 'rename', 'mercury');
Add qualifier to mercury:
ctx_thes.alter_phrase('thes1', 'mercury', 'rename', 'mercury (planet)');
Make Kowalski the preferred term in its synonym ring:
ctx_thes.alter_phrase('thes1', 'Kowalski', 'pt');
Change scope note for view cameras:
ctx_thes.alter_phrase('thes1', 'view cameras', 'sn', 'Cameras with lens focusing');
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|