This section describes archiving the data in SQL Server 2008.
Note: We recommend that you use MS SQL Server Management Studio to execute the stored procedure.
Follow these steps:
USE [<mdb instance name>] GO DECLARE @return_value int EXEC @return_value = [dbo].[usm_sp_archive_data] @p_object_type = N'< Object Type >', @p_date = N'<Completion Date on or before - yyyy-mm-dd>', @p_bu = N'<Business Unit>' SELECT 'Return Value' = @return_value GO
Specifies the MDB instance name that CA Service Catalog uses.
Specifies the type of objects to archive and purge, as follows:
Request
Archives or purges requests that are in completed status and related data (including audit data).
Audit
Archives or purges audit entries for all objects.
Archives or purges only requests that are completed on or before this date.
Archives or purges the records of this business unit.
The result appears on the Messages tab.
The data is archived.
Copyright © 2013 CA.
All rights reserved.
|
|