Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
DBMS_WM , 34 of 52
This procedure removes the specified workspace and all its descendant workspaces. The data in the workspaces is rolled back and the workspace structure is removed.
DBMS_WM.RemoveWorkspaceTree( workspace IN VARCHAR2 [, auto_commit IN BOOLEAN DEFAULT TRUE]);
The RemoveWorkspaceTree operation should be used with extreme caution, because it removes support structures and rolls back changes in a workspace and all its descendants down to the leaf workspace or workspaces.
There must be no other users in workspace
or any of its descendant workspaces.
An exception is raised if the user does not have the REMOVE_WORKSPACE
privilege for workspace
or any of its descendant workspaces.
The following example removes the NEWWORKSPACE
workspace and all its descendant workspaces.
EXECUTE DBMS_WM.RemoveWorkspaceTree('NEWWORKSPACE');
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|