Using Wildcards in Database Object Names
You can use wildcards for any part of a fully qualified object name, if supported for the specific database. These name parts can be the following: the container, database, or catalog name, the owner (schema or database name), and table or sequence name. For specifics on how object names and wildcards are supported, see the Oracle GoldenGate installation and configuration guide for that database.
Where appropriate, Oracle GoldenGate parameters permit the use of two wildcard types to specify multiple objects in one statement:
-
A question mark (?) replaces one character. For example in a schema that contains tables named
TAB
n
, where n is from 0 to 9, a wildcard specification ofHQ.TAB?
returnsHQ.TAB0
,HQ.TAB1
,HQ.TAB2
, and so on, up toHQ.TAB9
, but no others. This wildcard is not supported for the DB2 LUW database nor for DEFGEN. This wildcard can only be used to specify source objects in aTABLE
orMAP
parameter. It cannot be used to specify target objects in theTARGET
clause ofTABLE
orMAP
. -
An asterisk (*) represents any number of characters (including zero sequence). For example, the specification of
HQ.T*
could return such objects asHQ.TOTAL
,HQ.T123
, andHQ.T
. This wildcard is valid for all database types throughout all Oracle GoldenGate commands and parameters where a wildcard is allowed. -
In
TABLE
andMAP
statements, you can combine the asterisk and question-mark wildcard characters in source object names only.