Oracle Text Reference Release 9.0.1 Part Number A90121-01 |
|
CTX_QUERY Package , 7 of 7
This procedure creates a stored query expression. Only the query definition is stored.
Stored query expressions support all of the CONTAINS query operators. Stored query expressions also support all of the special characters and other components that can be used in a query expression, including other stored query expressions.
Users are allowed to create and remove stored query expressions owned by them. Users are allowed to use stored query expressions owned by anyone. The CTXSYS user can create or remove stored query expressions for any user.
CTX_QUERY.STORE_SQE(query_name IN VARCHAR2, text_query IN VARCHAR2);
Specify the name of the stored query expression to be created. If you are CTXSYS, you can specify this as user.name
.
Specify the query expression to be associated with query_name.
begin ctx_query.store_sqe('disasters', 'hurricanes | earthquakes'); end;
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|