Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

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

DBMS_REPCAT_RGT, 2 of 33


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 51-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 51-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. 


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

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback