| Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
DBMS_WM , 24 of 52
This procedure moves the current session to the specified workspace.
DBMS_WM.GotoWorkspace( workspace IN VARCHAR2);
| Parameter | Description |
|---|---|
workspace |
Name of the workspace. The name is case sensitive. |
After a user goes to a workspace, modifications to data can be made there.
To go to the live database, specify workspace as LIVE. Because many operations are prohibited when any users (including you) are in the workspace, it is often convenient to go to the LIVE workspace before performing operations on created workspaces.
An exception is raised if one or more of the following apply:
workspace does not exist.
ACCESS_WORKSPACE privilege for workspace.
workspace has been frozen to new users (see the FreezeWorkspace Procedure).
The following example includes the user in the NEWWORKSPACE workspace. The user will begin to work in the latest version in that workspace.
EXECUTE DBMS_WM.GotoWorkspace ('NEWWORKSPACE');
The following example includes the user in the LIVE database workspace. By default, when users connect to a database, they are placed in this workspace.
EXECUTE DBMS_WM.GotoWorkspace ('LIVE');
|
|
![]() Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|