Skip Headers

Oracle® Database Advanced Replication Management API Reference
10g Release 1 (10.1)

Part Number B10733-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to current chapter
Up
Go to next page
Next
View PDF

ALTER_REFRESH_TEMPLATE Procedure

This procedure allows the DBA to alter existing deployment templates. Alterations may include defining a new deployment template name, a new refresh group, or a new owner and changing the public/private status.

Syntax

DBMS_REPCAT_RGT.ALTER_REFRESH_TEMPLATE (
   refresh_template_name      IN   VARCHAR2,
   new_owner                  IN   VARCHAR2 := '-',
   new_refresh_group_name     IN   VARCHAR2 := '-',
   new_refresh_template_name  IN   VARCHAR2 := '-',
   new_template_comment       IN   VARCHAR2 := '-',
   new_public_template        IN   VARCHAR2 := '-',
   new_last_modified          IN   DATE := to_date('1', 'J'),
   new_modified_by            IN   NUMBER := -1e-130);

Parameters

Table 21-2 ALTER_REFRESH_TEMPLATE Procedure Parameters  
Parameter Description
refresh_template_name

The name of the deployment template that you want to alter.

new_owner

The name of the new deployment template owner. Do not specify a value to keep the current owner.

new_refresh_group_name

If necessary, use this parameter to specify a new refresh group name to which the template objects will be added. Do not specify a value to keep the current refresh group.

new_refresh_template_name

Use this parameter to specify a new deployment template name. Do not specify a value to keep the current deployment template name.

new_template_comment

New deployment template comments. Do not specify a value to keep the current template comment.

new_public_template

Determines whether the deployment template is public or private. Only acceptable values are 'Y' and 'N' ('Y' = public and 'N' = private). Do not specify a value to keep the current value.

new_last_modified

Contains the date of the last modification made to this deployment template. If a value is not specified, then the current date is automatically used.

new_modified_by

Contains the name of the user who last modified this deployment template. If a value is not specified, then the current user is automatically used.

Exceptions

Table 21-3 ALTER_REFRESH_TEMPLATE Procedure Exceptions  
Exception Description
miss_refresh_template

Deployment template name specified is invalid or does not exist.

bad_public_template

The public_template parameter is specified incorrectly. The public_template parameter must be specified as a 'Y' for a public template or an 'N' for a private template.

dupl_refresh_template

A template with the specified name already exists. See the ALL_REPCAT_REFRESH_TEMPLATES view.