Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
DBMS_WM , 39 of 52
This procedure discards all changes made in the workspace to a specified table (all rows or as specified in the WHERE clause).
DBMS_WM.RollbackTable( workspace IN VARCHAR2, table_id IN VARCHAR2, [, sp_name IN VARCHAR2 DEFAULT ''] [, where_clause IN VARCHAR2 DEFAULT ''] [, remove_locks IN BOOLEAN DEFAULT TRUE] [, auto_commit IN BOOLEAN DEFAULT TRUE]);
You cannot roll back to a savepoint if any implicit savepoints have been created since the specified savepoint, unless you first merge or remove the descendant workspaces that caused the implicit savepoints to be created
An exception is raised if one or more of the following apply:
workspace
does not exist.
table_id
is active in workspace
.
The following example rolls back all changes made to the EMP
table (in the USER3
schema) in the NEWWORKSPACE
workspace since that workspace was created.
EXECUTE DBMS_WM.RollbackTable ('NEWWORKSPACE', 'user3.emp');
|
![]() Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|