This section describes archiving the data in Oracle.
Note: We recommend that you use Oracle SQL Developer to execute the stored procedure.
Follow these steps:
Note: If you are using SQLPlus on command prompt, execute the SET SERVEROUT ON statement before executing the stored procedure.
DECLARE
P_OBJECT_TYPE VARCHAR2(200);
P_DATE DATE;
P_BU VARCHAR2(200);
BEGIN
P_OBJECT_TYPE := ‘<Object Type>’;
P_DATE := ‘<Completion Date on or before - DD-MON-YYYY>’;
P_BU := ‘<Business Unit>’;
USM_SP_ARCHIVE_DATA(
P_OBJECT_TYPE => P_OBJECT_TYPE,
P_DATE => P_DATE,
P_BU => P_BU
);
END;
The result is displayed in the Running - Log tab.
The data is archived.
|
Copyright © 2013 CA.
All rights reserved.
|
|