Oracle8i Replication Management API Reference
Release 2 (8.1.6)

Part Number A76958-01

Library

Product

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

Replication Management API Reference, 127 of 179


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 8-232 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 8-233 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 DBA_REPCAT_REFRESH_TEMPLATES view. 


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index