| Oracle® Database Advanced Replication Management API Reference 10g Release 1 (10.1) Part Number B10733-01 | 
 | 
| 
 | View PDF | 
This function creates the deployment template, which enables you to define the template name, private/public status, and target refresh group. Each time that you create a template object, user authorization, or template parameter, you reference the deployment template created with this function. This function adds a row to the DBA_REPCAT_REFRESH_TEMPLATES view. The number returned by this function is used internally by Oracle to manage deployment templates.
DBMS_REPCAT_RGT.CREATE_REFRESH_TEMPLATE ( owner IN VARCHAR2, refresh_group_name IN VARCHAR2, refresh_template_name IN VARCHAR2, template_comment IN VARCHAR2 := NULL, public_template IN VARCHAR2 := NULL, last_modified IN DATE := SYSDATE, modified_by IN VARCHAR2 := USER, creation_date IN DATE := SYSDATE, created_by IN VARCHAR2 := USER) return NUMBER;
| Exception | Description | 
|---|---|
| dupl_refresh_template | A template with the specified name already exists. See the  | 
| bad_public_template | The  | 
| Return Value | Description | 
|---|---|
| <system-generated number> | System-generated number used internally by Oracle. |