Oracle8i Supplied PL/SQL Packages Reference Release 2 (8.1.6) Part Number A76936-01 |
|
OUTLN_PKG , 2 of 2
This procedure drops outlines that have never been applied in the compilation of a SQL statement.
OUTLN_PKG.DROP_UNUSED;
None.
You may want to use DROP_UNUSED
for outlines created on behalf of dynamic SQL statements, that were generated by an application for one time use only. For these statements, the outlines are never used and are simply taking up valuable disk space.
This procedure drops outlines that belong to a particular category.
OUTLN_PKG.DROP_BY_CAT ( cat VARCHAR2);
Parameter | Description |
---|---|
cat |
Category of outlines to drop. |
You may occasionally want to purge a category of outlines. This procedure accomplishes that in a single call.
This example drops all outlines in the DEFAULT
category:
OUTLN_PKG.DROP_BY_CAT('DEFAULT');
This procedure changes the category of all outlines in one category to a new category. If the SQL text in an outline already has an outline in the target category, then it is not merged into the new category.
OUTLN_PKG.UPDATE_BY_CAT ( oldcat VARCHAR2 DEFAULT 'DEFAULT', newcat VARCHAR2 DEFAULT 'DEFAULT');
Parameter | Description |
---|---|
oldcat |
Current category to be changed. |
newcat |
Target category to change outline to. |
Once satisfied with a set of outlines, you might chose to move outlines from an experimental category to a production category. Likewise, you might want to merge a set of outlines from one category into another pre-existing category.
This example changes all outlines in the DEFAULT
category to the CAT1
category:
OUTLN_PKG.UPDATE_BY_CAT('DEFAULT', 'CAT1');
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|