35.11 SDO_UTIL.DROP_WORK_TABLES
Format
SDO_UTIL.DROP_WORK_TABLES( oidstr IN VARCHAR2);
Description
Drops any transient ("scratch") tables and views in the current schema that were created during the creation of a point cloud or TIN.
Parameters
Usage Notes
If scratch tables still exist from a previous SDO_PC_PKG.CREATE_PC or SDO_TIN_PKG.CREATE_TIN operation when you try to create a point cloud or TIN, an error message is displayed indicating that you must first drop the scratch tables. Use the SDO_UTIL.DROP_WORK_TABLES procedure to drop these scratch tables.
This procedure drops all tables and views that match 'M%_<oidstr>$$%'
.
Examples
The following example drops the scratch tables from a previous SDO_PC_PKG.CREATE_PC or SDO_TIN_PKG.CREATE_TIN operation, using an OID string specified in a previous error message.
EXECXUTE SDO_UTIL.DROP_WORK_TABLES('A1B2C3');
Related Topics
Parent topic: SDO_UTIL Package (Utility)