Name
DBMS_REPCAT.COMMENT_ON_REPOBJECT
Synopsis
As you have seen, you can associate comments with a replicated object when you create or alter it by passing a VARCHAR2 string to the comment parameter. You can see these comments in the object_comment field of DBA_REPOBJECTS. Also, you can create comments without creating or altering the object with DBMS_REPCAT’s COMMENT_ON_REPOBJECT procedure.
PROCEDURE DBMS_REPCAT.COMMENT_ON_REPOBJECT
(sname IN VARCHAR2,
oname IN VARCHAR2,
type IN VARCHAR2,
comment IN VARCHAR2);Parameters
Parameter Name | Description |
|---|---|
sname | Name of schema to which object belongs |
oname | Name of the object |
type | Object type |
comment | Comment |
Exceptions
Exception Name | Number | Description |
|---|---|---|
commfailure | –23317 | Unable to communicate with one or more master sites. |
missingobject | –23308 | Object oname does not exist. |
nonmasterdef | –23312 | Calling site is not master definition site. |
typefailure | –23319 | Object type is not supported. |
Restrictions
The COMMENT_ON_REPOBJECT procedure must be called from the master definition site.