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, 21 of 69


COMMENT_ON_REPOBJECT Procedure

This procedure updates the comment field in the DBA_REPOBJECT view for a replicated object in a master group. This procedure must be issued at the master definition site.

Syntax

DBMS_REPCAT.COMMENT_ON_REPOBJECT (
   sname    IN   VARCHAR2, 
   oname    IN   VARCHAR2, 
   type     IN   VARCHAR2, 
   comment  IN   VARCHAR2);

Parameters

Table 48-41 COMMENT_ON_REPOBJECT Procedure Parameters
Parameter  Description 
sname
 

Name of the schema in which the object is located. 

oname
 

Name of the object that you want to comment on. The object cannot be a storage table for a nested table. 

type
 

Type of the object. The following types are supported:

FUNCTION             SYNONYM   

INDEX                TABLE

INDEXTYPE            TRIGGER

OPERATOR             TYPE

PACKAGE              TYPE BODY

PACKAGE BODY         VIEW

PROCEDURE
 
comment
 

Text of the updated comment that you want to include in the OBJECT_COMMENT field of the DBA_REPOBJECT view. 

Exceptions

Table 48-42 COMMENT_ON_REPOBJECT Procedure Exceptions
Exception  Description 
nonmasterdef
 

Invocation site is not the master definition site. 

missingobject
 

Specified object does not exist. 

typefailure
 

Specified type parameter is not supported. 

commfailure
 

At least one master site is not accessible. 


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