Oracle Text Reference Release 9.0.1 Part Number A90121-01 |
|
CTX_DOC Package , 8 of 10
Use this procedure to set the CTX_DOC procedures to accept either the ROWID or the PRIMARY_KEY document identifiers. This setting affects the invoking session only.
ctx_doc.set_key_type(key_type in varchar2);
Specify either ROWID or PRIMARY_KEY as the input key type (document identifier) for CTX_DOC procedures.
This parameter defaults to the value of the CTX_DOC_KEY_TYPE system parameter.
Note: When your base table has no primary key, setting key_type to PRIMARY_KEY is ignored. The textkey parameter you specify for any CTX_DOC procedure is interpreted as a ROWID. |
To set CTX_DOC procedures to accept primary key document identifiers, do the following:
begin ctx_doc.set_key_type('PRIMARY_KEY'); end
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|