pdb_ownerfilter

Description

NoteThis command is available only for Oracle and Microsoft SQL Server.

Returns a list of the owners whose objects will be filtered for initialization; adds, removes owners to the list.

Syntax

To return a list of the owners whose objects will be filtered for initialization:

pdb_ownerfilter

To add or remove an owner whose objects will be filtered for initialization:

pdb_ownerfilter {add | remove}, owner

Parameters

add

The add keyword filters out any objects that are owned by the owner you specify. Any objects that are owned by this owner cannot be marked for initialization.

remove

The remove keyword removes the filter for the owner you specify. Any objects that are owned by this owner can be marked for initialization. For Oracle, you cannot remove the “SYS” owner.

owner

The name of the owner that is used for filtering.

The owner option can be delimited with quote characters to specify the character case.

If mixed case (uppercase and lowercase) is required, the name must be delimited. This parameter can be delimited with quotes to specify the character case. If mixed case is required, the name must be delimited. For example:

“Owner”, “oWnEr”

Examples

Example 1

pdb_ownerfilter

This command returns a list of all owners whose objects will be filtered for initialization.

Example 2

pdb_ownerfilter add, SYSTEM

This command adds the “system” user to the list of owners whose objects will be filtered for replication.

Example 3

pdb_ownerfilter remove, SYSTEM

This command removes the “system” user from the list of owners whose objects will be filtered for initialization.

Usage

See also

pdb_setrepproc, pdb_setreptable, ra_config